GetBIF() | R Documentation |
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.
GetBIF( gbif_usr = NULL, gbif_pwrd = NULL, email = NULL, credentials = NULL, sp_dir = NULL, sp_list = NULL, out_name = "sp_records" )
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) |
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.
An csv file with the occurrences in Lat/Long Geographic Coordinates System WGS84.
Xavier Rotllan-Puig
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.