View source: R/search_gbif_data.R
search_gbif_data | R Documentation |
Searchs gbif data using the function occ
from the spocc package
search_gbif_data(
genus,
species,
occlim = 10000,
writeFile = FALSE,
leafletplot = FALSE,
showClusters = FALSE,
...
)
genus |
Species genus |
species |
Species name |
occlim |
Occurrence data search limit. |
writeFile |
Write gibif data into a csv |
leafletplot |
Logical, if TRUE the records will be plotted on a leaflet map. |
showClusters |
Logical. Display geographic cluster on the leaflet map. |
... |
Pass arguments to the function |
Note that this function is for exploration proposes. If you want to use GBIF data in publications you should generate and cite DOI information according to this
Returns a data.frame with coordinate data from species
## Not run:
# Species genus
genus <- "ambystoma"
# Species name
species <- "tigrinum"
# GBIF search
ambystoma_tigrinum <- ntbox::search_gbif_data(genus,species,
occlim=100,
writeFile=FALSE)
head(ambystoma_tigrinum[,1:5])
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.