| gni_search {taxize} | R Documentation |
Uses the Global Names Index, see http://gni.globalnames.org/.
gni_search(search_term = NULL, per_page = NULL, page = NULL, justtotal = FALSE, parse_names = FALSE, ...)
search_term |
Name pattern you want to search for. WARNING: Does not work for vernacular/common names. Search term may include following options (Note: can, uni, gen, sp, ssp, au, yr work only for parsed names):
|
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. |
parse_names |
If |
... |
Curl options passed on to |
Note that you can use fuzzy searching, e.g., by attaching an asterisk to the end of a search term. See the first two examples below.
data.frame of results.
Scott Chamberlain myrmecocystus@gmail.com
http://gni.globalnames.org/, https://github.com/dimus/gni/wiki/api
## Not run:
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=TRUE)
gni_search(search_term = "Cyanistes caeruleus", parse_names=TRUE)
# pass on curl options to httr
library("httr")
gni_search(search_term = "ani*", config = verbose())
## End(Not run)