spplist
= get you some species lists
here's how i'm thinking about the workflow:
Thoughts?
remotes::install_github("sckott/spplist")
library("spplist")
via the spocc
package
geometry <- "POLYGON((8.98 48.05,15.66 48.05,15.66 45.40,8.98 45.40,8.98 48.05))" spp_list(geometry = geometry, from = "idigbio", limit = 20)
Get a list from many sources
geometry <- "POLYGON((8.98 48.05,15.66 48.05,15.66 45.40,8.98 45.40,8.98 48.05))" spp_list(geometry = geometry, from = c("idigbio", "inat"), limit = 20)
note how the limit parameter doesn't necessarily give you the number you request. Rather, that number is the max occurrence records pulled down, and there could be duplicate names.
using rgbif
Search by geometry
geometry <- "POLYGON((8.98 48.05,15.66 48.05,15.66 45.40,8.98 45.40,8.98 48.05))" spp_list_gbif(geometry = geometry, limit = 20)
Search by country
(res <- spp_list_gbif(country = 'US', limit = 20))
spplist
in R doing citation(package = 'spplist')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.