db_getter: Download radiocarbon source databases and convert them to a...

Description Usage Arguments Examples

Description

get_c14data() allows to download source databases and adjust their variables to conform to the definition in the variable_reference table. That includes renaming and arranging the variables (with c14bazAAR::order_variables()) as well as type conversion (with c14bazAAR::enforce_types()) – so all the steps undertaken by as.c14_date_list().
All databases require different downloading and data wrangling steps. Therefore there's a custom getter function for each of them (see ?get_all_dates).

get_c14data() is a wrapper to download all dates from multiple databases and c14bazAAR::fuse() the results.

Usage

1
get_c14data(databases = c())

Arguments

databases

Character vector. Names of databases to be downloaded. "all" causes the download of all databases. get_c14data() prints a list of the currently available databases

Examples

1
2
3
4
## Not run: 
 get_c14data(databases = c("adrac", "palmisano"))
  get_all_dates()
## End(Not run)

c14bazAAR documentation built on March 26, 2020, 6:38 p.m.