Learn R Programming

taxize (version 0.7.9)

gnr_datasources: 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

See Also

gnr_resolve

Examples

Run this code
## 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)

Run the code above in your browser using DataLab