Read the locations for the raw data source, save them to the git repository and the results database
Source:R/prepare_dataset_location.R
prepare_dataset_location.Rd
Read the locations for the raw data source, save them to the git repository and the results database
Usage
prepare_dataset_location(
result_channel,
flemish_channel,
walloon_repo,
raw_repo,
scheme_id,
first_date,
latest_date = as.POSIXct(Sys.time())
)
Arguments
- result_channel
An open
RODBC
connection to the results database- flemish_channel
a DBI connection to the Flemish database
- walloon_repo
a git_repository object to the Walloon source data
- raw_repo
a git_repository object to write the output to
- scheme_id
the id of the scheme
- first_date
earliest records to take into account
- latest_date
until which date should we import the species list