Bind multiple traits.build data objects into a single data object
Source:R/bind_databases.R
bind_databases.Rdbind_databases binds all the listed studies into a single traits.build
database object as a large list.
Usage
bind_databases(..., databases = 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"