get_closest: Find the closest dataset records to a site, dataset or...

Description Usage Arguments Value Author(s) References Examples

Description

Passing in a download object the function outputs a Bacon or Clam formatted file to a user defined destination for age modelling with existing age-depth modeling software.

Usage

1
get_closest(x, n, buffer, ...)

Arguments

x

A vector long/lat pair, or a dataset, site or download.

n

The number of records to return.

buffer

The size of the buffer for dataset search (in kilometers)

...

optional arguments to pass into get_dataset.

Value

This command returns a dataset or dataset_list, or NULL if no records exist within the bounding box.

Author(s)

Simon J. Goring simon.j.goring@gmail.com, Andria Dawson andria.dawson@gmail.com

References

Neotoma Project Website: http://www.neotomadb.org API Reference: http://api.neotomadb.org/doc/resources/contacts

Examples

1
2
3
4
5
6
7
## Not run: 
#  The point of pulling chronology tables is to re-build or examine the chronological 
#  information that was used to build the age-depth model for the core.
# Find the closest records to Madison, WI:
get_closest(x = c(-89.4012, 43.0731), n = 10, buffer = 5, datasettype = "pollen")

## End(Not run)

neotoma documentation built on May 2, 2019, 1:10 p.m.