Skip to content

PreSPickR: Downloading Species Presences (Occurrences) From Public Repositories

License

Notifications You must be signed in to change notification settings

xavi-rp/PreSPickR

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PreSPickR

The aim of this package is to download species presences (occurrences) data from public repositories. For now it is implemented for Bioatles, which has data from the Balearic Islands, and for GBIF.

Bioatles data is projected in European Datum 1950 (31N). The function bioatles(), which downloads the occurrences, also transform the data set in Lat/Long Geographic Coordinates System WGS84. It is based on several functions included in the packages "rvest" (Wickham, 2016) and "xml2" (Wickham et al., 2017). Finally, it saves the data in a csv file.

Equally, GetBIF() is used to download species occurrences from GBIF. It is based on several functions included in the package "rgbif" (Chamberlain, 2017). It uses the so-called "/occurrence/download route" (see vignettes of the "rgbif" package) which is more appropriate for big data sets. GetBIF() retrieve your GBIF credentials (user, password and email) and automatically makes checks using a loop until the request of the data set made to GBIF is ready. In that moment it starts the download. Finally, it saves the data in a csv file. The data is in Lat/Long Geographic Coordinates System WGS84.

See vignette for some examples.

Download the source package here. Or install the latest version:

library(devtools)
install_github("xavi-rp/PreSPickR")

In case you want to install v.2 (under development):

library(devtools)
install_github("xavi-rp/PreSPickR",
               ref = "v2",
               INSTALL_opts = c("--no-multiarch")  # https://github.com/rstudio/renv/issues/162
               )

References

About

PreSPickR: Downloading Species Presences (Occurrences) From Public Repositories

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages