occCite (version 0.4.5)

getGBIFpoints: Download occurrence points from GBIF

Description

Downloads occurrence points and useful related information for processing within other occCite functions

Usage

getGBIFpoints(
  taxon,
  GBIFLogin = GBIFLogin,
  GBIFDownloadDirectory = NULL,
  checkPreviousGBIFDownload = T
)

Arguments

taxon

A single species

GBIFLogin

An object of class GBIFLogin to log in to GBIF to begin the download.

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.

Value

A list containing

  1. a data frame of occurrence data;

  2. GBIF search metadata;

  3. a data frame containing the raw results of a query to `rgbif::occ_download_get()`.

Examples

Run this code
# NOT RUN {
getGBIFpoints(taxon="Gadus morhua",
              GBIFLogin = myGBIFLogin,
              GBIFDownloadDirectory = NULL)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab