GetBIF-open-paren-close-paren: Downloading species ocurrence data (presences) from GBIF

GetBIF()R Documentation

Downloading species ocurrence data (presences) from GBIF

Description

Download species occurrences from GBIF (Global Biodiversity Information Facility ), and saves them as a csv data set. It is based on several functions included in the package "rgbif" (Chamberlain, 2017). GetBIF() retrieve your GBIF credentials (user and password) and automatically checks in a loop until the request of data made to GBIF is ready and starts the download. Finally, it saves the data in a csv file.

Usage

GetBIF(
  gbif_usr = NULL,
  gbif_pwrd = NULL,
  email = NULL,
  credentials = NULL,
  sp_dir = NULL,
  sp_list = NULL,
  out_name = "sp_records"
)

Arguments

gbif_usr

User name in GBIF

gbif_pwrd

Password in GBIF

email

email in GBIF

credentials

.RData file containing a list with gbif_usr, gbif_pwrd and email

out_name

Name to the output data set (csv file)

Details

The aim of this script is to define the function GetBIF(), which is used to download species occurrences from GBIF (Global Biodiversity Information Facility ), and saves them as a csv data set. It is based on several functions included in the package "rgbif" (Chamberlain, 2017). GetBIF() retrieve your GBIF credentials (user and password) and automatically checks in a loop until the request of data made to GBIF is ready and starts the download. Finally, it saves the data in a csv file.

Value

An csv file with the occurrences in Lat/Long Geographic Coordinates System WGS84.

Author(s)

Xavier Rotllan-Puig


xavi-rp/PreSPickR documentation built on March 27, 2022, 7:30 a.m.