The following treatments are performed:
If no sufficient versions are found, nothing is done.
NA values are consistently set.
Type of fields are consistently set, some checks are performed on transformations.
Data set is cut and saved by departments
Only observations with spatial coordinates are kept.
Exposition of observations (belonging or not to eaip) is added.
alert_gaspar(origin, current, past, scope, alert = TRUE, verbose = TRUE)
character, path to the directory where archive are stored.
character, date of the current data;
character, date of the past data.
list, named list of scope (vector of commune).
logical, should the result be returned.
logical, should the function give some sumup informations.
if retrieve = TRUE, data.frame of adapated data stored in archive.