This package provides an efficient way to access datasets in the Global Population Dynamics Database (GPDD) from the KNB website.
gpdd
can be installed with the following code:
install.packages("devtools") # if you haven't installed the "devtools package"
devtools::install_github("boettiger-lab/gpdd")
This package contains one function gpdd
, which takes one parameter table
(the requested dataset) and returns the dataset. Allowed parameter inputs are "data", "main", "timeperiod", "taxon", "datasource", "biotope", and "location"; other inputs will raise an error. Example below:
# Default argument as "data".
data <- download_gpdd()
summary(data)
# Specifying the dataset to be downloaded.
location <- download_gpdd("location")
summary(location)