This function will first look for datasets in the ontodive
package. If datasets
are not included, it will then tried to download the dataset based on the DOI
pre-reserved by Dryad when submitting the paper. If somehow it still doesn't work
you will be asked to enter the DOI of the dataset you're looking for.
Usage
get_data(species = "all")
Arguments
- species
"all"
, "nes"
or "ses"
to retrieve respectively the
dataset for both species or only the one associated with northern
or southern elephant seals.
Value
A table of class data.table
if species = "all"
, otherwise
a list by year and individual
Examples
if (FALSE) {
# retrieve all data
get_data("all")
}