Description Usage Arguments Value Examples
Query OBIS for occurence data
1 2 3 4 5 6 7 8 9 | get_obis_recs(
sp_id,
validate_sp_id = FALSE,
fields = c("decimalLongitude", "decimalLatitude", "minimumDepthInMeters",
"maximumDepthInMeters", "depth", "eventDate", "year", "month", "scientificName",
"aphiaID"),
geometry = NULL,
ignore_failures = FALSE
)
|
sp_id |
a valid WoRMS aphiaID |
validate_sp_id |
whether to check for validity of aphiaID on OBIS |
fields |
fields to return from OBIS query. Defaults to |
geometry |
an sf object. Queries will be faster if the geometry is simple and restricted in space. |
ignore_failures |
whether to through an error or return NULL for queries that return no obis records. |
a tibble of OBIS occurence records
for sp_id
.
1 | get_obis_recs(sp_id = 325567)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.