GBIF_data {caretSDM} | R Documentation |
Retrieve Species data from GBIF
Description
This function is a wrapper to get records from GBIF using rgbif
and return a
data.frame
ready to be used in caretSDM.
Usage
GBIF_data(s, file = NULL, as_df = FALSE, ...)
Arguments
s |
|
file |
|
as_df |
Should the output be a |
... |
Arguments to pass on |
Value
A data.frame
with species occurrences data, or an occurrences
object if
as_df = FALSE
.
Author(s)
Luíz Fernando Esser (luizesser@gmail.com) https://luizfesser.wordpress.com
References
https://www.gbif.org
Examples
# Select species names:
s <- c("Araucaria angustifolia", "Salminus brasiliensis")
# Run function:
oc <- GBIF_data(s)
[Package caretSDM version 1.1.0.1 Index]