Learn R Programming

taxize (version 0.0.6)

gni_search: Search for taxonomic names using the Global Names Index.

Description

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

Usage

gni_search(search_term = NULL, per_page = NULL,
    page = NULL, justtotal = FALSE, parse_names = FALSE,
    url = "http://gni.globalnames.org/name_strings.json")

Arguments

search_term
Name pattern you want to search for search term may include following options (Note: can, uni, gen, sp, ssp, au, yr work only for parsed names): *: wild card Search by part of a word planta* exact: exact match Search for exact match of a literal s
per_page
Number of items per one page (numbers larger than 1000 will be decreased to 1000) (default is 30).
page
Page number you want to see (default is 1).
justtotal
Return only the total results found.
url
Base url for the API; leave as is.
parse_names
If TRUE, use gni_parse to parse names. Default is FALSE.

Value

  • Data.frame of results.

See Also

gnr_datasources, gni_search.

Examples

Run this code
gni_search(search_term = "ani*")
gni_search(search_term = "ama*", per_page = 3, page = 21)
gni_search(search_term = "animalia", per_page = 8, page = 1)
gni_search(search_term = "animalia", per_page = 8, page = 1, justtotal=T)

gni_search(search_term = "Cyanistes caeruleus", parse_names=TRUE)

Run the code above in your browser using DataLab