Add the raw data from Wallonia to the git repository
Source:R/import_walloon_source_data.R
import_walloon_source_data.Rd
This functions reads the files and performs some basic checks on them. See the details section for the required format of the files. The median date is used in case of multiple dates per visit id. The maximum is used in case of multiple observations per visit id.
Usage
import_walloon_source_data(
location_file,
visit_file,
species_file,
data_file,
path = ".",
walloon_repo,
strict = TRUE
)
Arguments
- location_file
file with details on the location
- visit_file
file with details on the visits to each location
- species_file
file with all species
- data_file
file with observed species at each visit
- path
directory were the above files are stored
- walloon_repo
a git_repository object to the Walloon source data
- strict
What to do when the metadata changes.
strict = FALSE
overwrites the data and the metadata with a warning listing the changes,strict = TRUE
returns an error and leaves the data and metadata as is. Defaults toTRUE
.