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

get_c14dataR Documentation

Download radiocarbon source databases and convert them to a c14_date_list

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

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


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


nevrome/c14databases documentation built on Feb. 2, 2024, 2 a.m.