Fetches the current version of a COM(P)ADRE database from https://compadre-db.org, or load any version stored in a local .RData file.

cdb_fetch(cdb)

Arguments

cdb

Either "comadre" or "compadre" (case insensitive) to fetch the most recent database from https://compadre-db.org, or a path to an existing COMPADRE database (i.e. .RData file) stored on the local machine.

Value

A CompadreDB object

Examples

# NOT RUN {
compadre <- cdb_fetch('compadre')
# }