getGBIFpoints {occCite} | R Documentation |
Download occurrences from GBIF
Description
Downloads GBIF occurrence points and useful related information for processing within other occCite functions
Usage
getGBIFpoints(
taxon,
GBIFLogin = GBIFLogin,
GBIFDownloadDirectory = NULL,
checkPreviousGBIFDownload = T
)
Arguments
taxon |
A string with a single species name |
GBIFLogin |
An object of class |
GBIFDownloadDirectory |
An optional argument that specifies the local directory where GBIF downloads will be saved. If this is not specified, the downloads will be saved to your current working directory. |
checkPreviousGBIFDownload |
A logical operator specifying whether the user wishes to check their existing prepared downloads on the GBIF website. |
Details
'getGBIFpoints' only returns records from GBIF that have coordinates, aren't flagged as having geospatial issues, and have an occurrence status flagged as "PRESENT".
Value
A list containing
a data frame of occurrence data;
GBIF search metadata;
a data frame containing the raw results of a query to 'rgbif::occ_download_get()'.
Examples
## Not run:
getGBIFpoints(
taxon = "Gadus morhua",
GBIFLogin = myGBIFLogin,
GBIFDownloadDirectory = NULL
)
## End(Not run)