metadata: metadata.rda

Description Usage Arguments Details Value Examples

View source: R/metadata.R

Description

Contains a cache of all publication metadata the search_metadata() to pull down when run on 2012-05-12.

generate a table of all available metadata for TreeBASE entries

Usage

1
metadata(phylo.md = NULL, oai.md = NULL)

Arguments

phylo.md

cached phyloWS (tree) metadata, (optional)

oai.md

cached OAI-PMH (study) metadata (optional)

Details

recreate with: search_metadata()

Value

a data frame of all available metadata, (as a data.table object) columns are: "Study.id", "Tree.id", "kind", "type", "quality", "ntaxa" "date", "publisher", "author", "title".

Examples

1
2
3
4
5
## Not run: 
meta <- metadata()
meta[publisher %in% c("Nature", "Science") & ntaxa > 50 & kind == "Species Tree",]

## End(Not run)

ropensci/treebase documentation built on May 25, 2017, 2:40 p.m.