getFeature: Get details for a given feature

Description Usage Arguments Value Author(s) See Also Examples

Description

Given the featureID (an integer), this function get details of the taxon from the NBN Gateway. These include the label (name), feature type, etc. If the feature is a GridSquare then the information includes the bounding box coordinates.

Usage

1
getFeature(featureID = NULL, ...)

Arguments

featureID

A the featureID as a string

...

Further named parameters passed on to GET

Value

A list containing the JSON object returned by the NBN Gateway.

Author(s)

Stuart Ball, JNCC stuart.ball@jncc.gov.uk

See Also

getOccurrences

Examples

1
2
3
4
5
## Not run:  
 t <- getFeature("97479")
 t['label']  ## [1] "SN413499"

## End(Not run)


Search within the rnbn package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.