get_gbif: Download species occurrence data from GBIF

Description Usage Arguments Value Note Author(s) Examples

View source: R/get_gbif.R

Description

Download species occurrence data from GBIF

Usage

1
get_gbif(prop, pause = 90, ...)

Arguments

prop

An sf multipolygon object of a refuge boundary, returned by get_refuge.

pause

The number of seconds to pause to wait for the data request from GBIF to be ready. Default is 60 secs. If it returns file size: 0 MB then increase the pause time.

Value

A data frame of species occurrence data from GBIF within the boundary of the desired refuge

Note

First time user - Add your GBIF credentials (username, password, email) to an .renviron file using usethis::edit_r_environ(scope = "user")

Author(s)

McCrea Cobb mccrea_cobb@fws.gov

Examples

1
2
3
4
## Not run: 
get_gbif(orgname = "KODIAK NATIONAL WILDLIFE REFUGE")

## End(Not run)

mccrea-cobb/refugbif documentation built on Dec. 21, 2021, 3:58 p.m.