adapt.admin_express.Rd
The following treatment are performed: - the projection is set to projection - the geometry is made valid - the output is saved as rds in given destination - for COMMUNE layer, the output is saved at department level
adapt.admin_express(
origin,
destination,
archive,
export = "rds",
scheme = floodam.data::scheme_admin_express,
layer = NULL,
projection = 4326,
retrieve = FALSE,
verbose = FALSE
)
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, option for export format of the results
data.frame, how archive variables should be treated
character, wchi layer should be treated
integer or object of type CRS giving projection
logical, should the result be returned
logical, should the function give some sumup informations.
if retrieve = TRUE, sf object of adapated data stored in archive.