get_gbif | R Documentation |
The get_gbif()
function queries the Global Biodiversity Information Facility (GBIF) for your desired species.
Limited to 100,000 record downloads.
get_gbif(synonyms.list, gbif.match = "fuzzy", gbif.prov = FALSE, limit = 1e+05)
synonyms.list |
A list of affiliated names for your query. |
gbif.match |
Default = "fuzzy". Either "fuzzy" for fuzzy matching of name or "code" to search by species code. |
gbif.prov |
Default = FALSE. A parameter to obtain the provider/verbatim columns from GBIF. |
limit |
Default = 100,000 (maximum). Set limit to the number of records requested for each element in synonyms.list. |
This function uses the correct_class()
function.
This function requires the packages rgbif, magrittr, and dplyr.
Returns a data frame with desired columns from GBIF.
df <- get_gbif(c("Galax urceolata", "Galax aphylla"), limit = 5)
df <- get_gbif(c("Galax urceolata", "Galax aphylla"),
gbif.match = "code", limit = 5)
df <- get_gbif(c("Galax urceolata", "Galax aphylla"), gbif.prov = TRUE, limit = 5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.