Skip to contents

bind_databases binds all the listed studies into a single traits.build database object as a large list.

Usage

bind_databases(..., databases = list(...))

Arguments

...

Arguments passed to other functions

databases

List of traits.build databases to be bond together

Value

Compiled database as a single large list

Details

The combined sources hold the references of every database, with duplicate keys removed. They are a RefManageR::BibEntry() object with the class traits_build_sources, so a reference can be looked up by key with $ as well as [[ and [, e.g. database$sources$Falster_2005.

See also

traits_build_sources for looking up sources by key

Examples

a <- extract_dataset(austraits_lite, "Falster_2003")
b <- extract_dataset(austraits_lite, "Falster_2005_1")
both <- bind_databases(a, b)
unique(both$traits$dataset_id)
#> [1] "Falster_2003"   "Falster_2005_1"