View source: R/get_site_speciesOccurrences.R
get_site_speciesOccurrences | R Documentation |
This function acquires data from
GBIF https://www.gbif.org (via
rgbif
),
iNaturalist https://www.inaturalist.org/ and
OBIS https://obis.org/ and crops to an eLTER site
boundary, which is obtained from the DEIMS-SDR sites API.
get_site_speciesOccurrences(
deimsid,
list_DS,
show_map = FALSE,
limit = 500,
exclude_inat_from_gbif = TRUE
)
deimsid |
A |
list_DS |
A |
show_map |
A |
limit |
A |
exclude_inat_from_gbif |
A |
The output of the function is a list
of sf
one for each of the
repositories specified in the list_DS parameter.
Alessandro Oggioni, PhD (2020) oggioni.a@irea.cnr.it
Paolo Tagliolato, PhD (2020) tagliolato.p@irea.cnr.it
Martina Zilioli zilioli.m@irea.cnr.it
## Not run:
# terrestrial site Saldur River Catchment
occ_SRC <- get_site_speciesOccurrences(
deimsid =
"https://deims.org/97ff6180-e5d1-45f2-a559-8a7872eb26b1",
list_DS = c("gbif", "inat"),
show_map = FALSE,
limit = 10
)
occ_SRC
# marine site Gulf of Venice only obis
occ_GoV <- get_site_speciesOccurrences(
deimsid =
"https://deims.org/758087d7-231f-4f07-bd7e-6922e0c283fd",
list_DS = "obis",
show_map = FALSE,
limit = 10
)
occ_GoV
# marine site Gulf of Venice, all repositories are invoked
# gbif, inat and obis
occ_GoV_all <- get_site_speciesOccurrences(
deimsid =
"https://deims.org/758087d7-231f-4f07-bd7e-6922e0c283fd",
list_DS = c("gbif", "inat", "obis"),
show_map = TRUE,
limit = 10
)
occ_GoV_all
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.