Resolve names using Global Names Resolver.

Usage

gnr_resolve(names, data_source_ids = NULL, returndf = FALSE, url = "http://resolver.globalnames.org/name_resolvers")

Arguments

names
Quoted taxonomic names to be resolved in a vector.
data_source_ids
Supply data source IDs to specify what data source is searched. See example below.
returndf
Return data.frame or list (logical; default data.frame).
url
Base url for the API; leave as is.

Value

json or xml output, your choice

Description

Uses the Global Names Index, see http://gni.globalnames.org/ for information.

Examples

gnr_resolve(names = c("Helianthus annuus", "Homo sapiens"), returndf = TRUE)
data_source_id submitted_name name_string score title 1 4 Helianthus annuus Helianthus annuus 0.988 NCBI 3 10 Helianthus annuus Helianthus annuus 0.988 Freebase 5 12 Helianthus annuus Helianthus annuus 0.988 EOL 8 110 Helianthus annuus Helianthus annuus 0.988 Illinois Wildflowers 11 159 Helianthus annuus Helianthus annuus 0.988 CU*STAR 13 166 Helianthus annuus Helianthus annuus 0.988 nlbif 15 169 Helianthus annuus Helianthus annuus 0.988 uBio NameBank 2 4 Homo sapiens Homo sapiens 0.988 NCBI 4 10 Homo sapiens Homo sapiens 0.988 Freebase 6 12 Homo sapiens Homo sapiens 0.988 EOL 7 107 Homo sapiens Homo sapiens 0.988 AskNature 9 122 Homo sapiens Homo sapiens 0.988 BioPedia 10 123 Homo sapiens Homo sapiens 0.988 AnAge 12 159 Homo sapiens Homo sapiens 0.988 CU*STAR 14 168 Homo sapiens Homo sapiens 0.988 Index to Organism Names 16 169 Homo sapiens Homo sapiens 0.988 uBio NameBank
gnr_resolve(names = c("Asteraceae", "Plantae"), returndf = TRUE)
data_source_id submitted_name name_string score 1 1 Asteraceae Asteraceae 0.75 4 3 Asteraceae Asteraceae 0.75 6 4 Asteraceae Asteraceae 0.75 8 7 Asteraceae Asteraceae 0.75 10 9 Asteraceae Asteraceae 0.75 14 12 Asteraceae Asteraceae 0.75 16 107 Asteraceae Asteraceae 0.75 18 145 Asteraceae Asteraceae 0.75 20 157 Asteraceae Asteraceae 0.75 21 159 Asteraceae Asteraceae 0.75 22 169 Asteraceae Asteraceae 0.75 2 1 Plantae Plantae 0.75 3 2 Plantae Plantae 0.75 5 3 Plantae Plantae 0.75 7 5 Plantae Plantae 0.75 9 8 Plantae Plantae 0.75 11 9 Plantae Plantae 0.75 12 10 Plantae Plantae 0.75 13 11 Plantae Plantae 0.75 15 12 Plantae Plantae 0.75 17 107 Plantae Plantae 0.75 19 157 Plantae Plantae 0.75 23 169 Plantae Plantae 0.75 title 1 Catalogue of Life 4 ITIS 6 NCBI 8 Union 4 10 WoRMS 14 EOL 16 AskNature 18 Catalogue of Vascular Plant Species of Central and Northeastern Brazil 20 Belgian Species List 21 CU*STAR 22 uBio NameBank 2 Catalogue of Life 3 Wikispecies 5 ITIS 7 Index Fungorum 9 Interim Register of Marine and Nonmarine Genera 11 WoRMS 12 Freebase 13 GBIF Taxonomic Backbone 15 EOL 17 AskNature 19 Belgian Species List 23 uBio NameBank
# Using data source 12 (Encyclopedia of Life) gnr_resolve(names = c("Helianthus annuus", "Homo sapiens"), data_source_ids="12", returndf = TRUE)
data_source_id submitted_name name_string score title 1 12 Helianthus annuus Helianthus annuus 0.988 EOL 2 12 Homo sapiens Homo sapiens 0.988 EOL

Author

Scott Chamberlain myrmecocystus@gmail.com