get_gbif {gatoRs}R Documentation

Used in gators_download() - Download data from the Global Biodiversity Information Facility

Description

The get_gbif() function queries the Global Biodiversity Information Facility (GBIF) for your desired species. Limited to 100,000 record downloads.

Usage

get_gbif(synonyms.list, gbif.match = "fuzzy", gbif.prov = FALSE, limit = 1e+05)

Arguments

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.

Details

This function uses the correct_class() function. This function requires the packages rgbif, magrittr, and dplyr.

Value

Returns a data frame with desired columns from GBIF.

Examples

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)


[Package gatoRs version 1.0.1 Index]