Skip to contents

Fetches the full downloads of Neotoma datasets (package neotoma2) and returns their samples, one row per sample and taxon, all columns as text. Find the dataset IDs in the Neotoma Explorer (export, column datasetid). Process the result with neotoma_records().

Usage

download_neotoma(dataset_ids, chunk = 25, cache = NULL)

Arguments

dataset_ids

Neotoma dataset IDs.

chunk

Datasets per request.

cache

Optional .rds file: re-used if it exists, written otherwise (delete it to download again).

Value

A data.frame of samples.

References

Williams, J.W., Grimm, E.C., Blois, J.L., et al. (2018) The Neotoma Paleoecology Database, a multiproxy, international, community- curated data resource. Quaternary Research 89, 156-177. doi:10.1017/qua.2017.105

Examples

if (FALSE) { # \dontrun{
smp <- download_neotoma(c(1435, 1436), cache = "neotoma_downloads.rds")
rec <- neotoma_records(smp, taxon_regex = "^Dryas")
} # }