Description Usage Arguments Value References See Also Examples
Retrieve a list of taxa matching a search query, within a spatial search area, or both.
1 | specieslist(taxon, wkt, fq)
|
taxon |
string: (optional) query of the form field:value (e.g. "genus:Macropus") or a free text search (e.g. "macropodidae").
For reliable results it is recommended to use a specific field where possible (see |
wkt |
string: WKT (well-known text) defining a polygon within which to limit taxon search, e.g. "POLYGON((-3 56,-4 56,-4 57,-3 57,-3 56))" |
fq |
string: character string or vector of strings, specifying filters to be applied to the original query. These are of the form "INDEXEDFIELD:VALUE" e.g. "kingdom:Fungi". See |
data frame of results, where each row is a taxon, its classification information, and its occurrence count
Associated NBN web service: https://api.nbnatlas.org/#ws78
http://www.geoapi.org/3.0/javadoc/org/opengis/referencing/doc-files/WKT.html
nbn_fields
for occurrence fields that are queryable via the fq
parameter
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## Not run:
x <- specieslist(taxon="genus:Leuctra",wkt="POLYGON((-3 56,-4 56,-4 57,-3 57,-3 56))")
x <- specieslist(wkt="POLYGON((-3 56,-4 56,-4 57,-3 57,-3 56))",fq="rank:species")
x <- specieslist(wkt="POLYGON((-3 56,-4 56,-4 57,-3 57,-3 56))",fq="genus:Macropus")
x <- specieslist(wkt="POLYGONPOLYGON((-3 56,-4 56,-4 57,-3 57,-3 56))",
fq="kingdom:Plantae")
## NOTE that this response might include records with empty or NA kingdom, phylum, or
## class values, as per the note above.
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.