tr_ernest: Amniote life history dataset

View source: R/tr_ernest.R

tr_ernestR Documentation

Amniote life history dataset

Description

Amniote life history dataset

Usage

tr_ernest(read = TRUE, ...)

Arguments

read

(logical) read in csv files. Default: TRUE

...

Curl options passed on to crul::HttpClient()

Details

When using this data, cite the paper:

Myhrvold, N. P., Baldridge, E., Chan, B., Sivam, D., Freeman, D. L. and Ernest, S. K. M. (2015), An amniote life-history database to perform comparative analyses with birds, mammals, and reptiles. Ecology, 96: 3109. https://doi.org/10.1890/15-0846R.1

As well as the Dryad data package:

L. Freeman, Daniel; P. Myhrvold, Nathan; Chan, Benjamin; Sivam, Dhileep; Ernest, S. K. Morgan; Baldridge, Elita (2016): Full Archive. figshare. https://doi.org/10.6084/m9.figshare.3563457.v1

Value

paths to the files (character) if read=FALSE or a list of data.frame's if read=TRUE

References

https://doi.org/10.1890/15-0846R.1 https://doi.org/10.6084/m9.figshare.3563457.v1

Examples

# Show the default cache location used by tr_ernest()
cache_dir <- traits_cache$cache_path_get()
file.path(cache_dir, "ernest")


if (interactive()) {
  res <- tr_ernest()
  res$data
  res$references
  res$sparse
  res$range_count
}


traits documentation built on April 10, 2026, 5:06 p.m.