gnr_datasources {taxize}R Documentation

Get data sources for the Global Names Resolver.

Description

Retrieve data sources used in Global Names Index, see http://gni.globalnames.org/ for information.

Usage

gnr_datasources(todf = TRUE)

Arguments

todf

logical; Should a data.frame be returned?

Value

json or a data.frame

Author(s)

Scott Chamberlain myrmecocystus@gmail.com

See Also

gnr_resolve

Examples

## Not run: 
# all data sources
gnr_datasources()

# give me the id for EOL
out <- gnr_datasources()
out[out$title == "EOL", "id"]

# Fuzzy search for sources with the word zoo
out <- gnr_datasources()
out[agrep("zoo", out$title, ignore.case = TRUE), ]

# Output as a list
gnr_datasources(FALSE)

## End(Not run)

[Package taxize version 0.9.3 Index]