Function used to obtain species observations from GBIF.
obtainGBIF(query, geometry, projection, datasettype, filterDistance, ...)
An sf
object containing the locations and other relevant information of the species obtained from GBIF.
The scientific name of the species for which observations need to be obtained.
An sf
object surrounding the study area where observations need to be obtained.
The coordinate reference system used for the observations and geometry.
The type of dataset that is obtained from GBIF. Can be one of: PO
, PA
, Counts
.
Remove all points x km away from the boundary polygon.
Additional arguments to pass to occ_download.