import_walloon_source_data: Add the raw data from Wallonia to the git repository

Description Usage Arguments

Description

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

1
2
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 to TRUE.


inbo/watervogelanalysis documentation built on June 4, 2019, 4:07 p.m.