taxize (version 0.9.99)

gnr_datasources: Global Names Resolver Data Sources

Description

Retrieve data sources used in the Global Names Resolver

Usage

gnr_datasources(..., todf)

Arguments

...

Curl options passed on to crul::HttpClient

todf

defunct, always get a data.frame back now

Value

data.frame/tibble

References

https://resolver.globalnames.org/data_sources

See Also

gnr_resolve(), gni_search()

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), ]
# }

Run the code above in your browser using DataLab