prepare_dataset_observation: Read the observations and save them to git and the results...

View source: R/prepare_dataset_observation.R

prepare_dataset_observationR Documentation

Read the observations and save them to git and the results database

Description

Read the observations and save them to git and the results database

Usage

prepare_dataset_observation(
  origin,
  repo,
  end_date,
  min_observation = 100,
  strict = TRUE
)

Arguments

origin

DBI connection to the source database

repo

a git2rdata::repository() object

end_date

the latest date to import. Default to now.

min_observation

The minimum number of observations for taking a species into account. Defaults to 100.

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-Natura2000/abvanalysis documentation built on March 29, 2023, 9:17 p.m.