Learn R Programming

intSDM (version 2.1.1)

obtainGBIF: obtainGBIF: Function to obtain occurrence data from GBIF.

Description

Function used to obtain species observations from GBIF.

Usage

obtainGBIF(query, geometry, projection, datasettype, filterDistance, ...)

Value

An sf object containing the locations and other relevant information of the species obtained from GBIF.

Arguments

query

The scientific name of the species for which observations need to be obtained.

geometry

An sf object surrounding the study area where observations need to be obtained.

projection

The coordinate reference system used for the observations and geometry.

datasettype

The type of dataset that is obtained from GBIF. Can be one of: PO, PA, Counts.

filterDistance

Remove all points x km away from the boundary polygon.

...

Additional arguments to pass to occ_download.