Learn R Programming

taxize (version 0.7.9)

nbn_search: Search UK National Biodiversity Network database

Description

Search UK National Biodiversity Network database

Usage

nbn_search(q, prefered = FALSE, order = "asc", sort = NULL, start = 0, rows = 25, taxonOutputGroupKey = NULL, all = FALSE, ...)

Arguments

q
(character) The query terms(s)
prefered
(logical) Restrict search to preferred or any
order
(character) The order in which we should sort the results. Default: asc
sort
(character) Sort the results or not.
start
(integer/numeric) The page that the user wants to start displaying the results at. Default: 0
rows
(integer/numeric) The number of rows to show in each page of search results. Default: 25
taxonOutputGroupKey
(character) Vector of taxon output groups.
all
(logical) Get all results, overrides rows parameter if TRUE. Default: FALSE
...
Further args passed on to GET.

Examples

Run this code
## Not run: 
# nbn_search(q = "blackbird")
# nbn_search(q = "blackbird", start = 4)
# nbn_search(q = "blackbird", all = TRUE)
# nbn_search(q = "blackbird", taxonOutputGroupKey = "NHMSYS0000080039")
# 
# # debug curl stuff
# library('httr')
# nbn_search(q = "blackbird", config = verbose())
# ## End(Not run)

Run the code above in your browser using DataLab