adapt_gaspar.Rd
The following treatments are performed:
data is adapated consistently with theme
only data corresponding to flood hazards are kept
if scope is given, a subpart of data is also saved
adapt_gaspar(
origin,
destination = origin,
archive = "gaspar.zip",
theme = "catnat",
version,
scope = NULL,
export = "rds",
retrieve = FALSE,
keep = FALSE,
verbose = TRUE
)
character, path to the directory where archive are stored.
character, path to the directory where results should be saved
character, vector of archive to be adpated
character, name of the theme to be treated
character, version of data to be treated. If missing, version is guessed from folders in origin.
list, named list of scope (vector of commune)
character, option for export format of the results
logical, should the result be returned
logical, should the original data be kept. Default to FALSE.
logical, should the function give some sumup informations. Default to TRUE.
if retrieve = TRUE, data.frame of adapated data stored in archive.