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

See also

Other data acquisition: cdb_metadata()

Author

Patrick M. Barks <patrick.barks@gmail.com>

Examples

if (FALSE) { compadre <- cdb_fetch('compadre') }