Learn R Programming

neotoma2 (version 1.0.5)

get_datasets.default: Get Dataset Default

Description

Get Dataset Default

Usage

# S3 method for default
get_datasets(x, ...)

Value

sites object with full metadata up to the dataset level

Arguments

x

Use a single number to extract site information

...

accepted arguments, see details for more information.

Examples

Run this code
{
# To find all datasets with a min altitude of 12 and a max altitude of 25:
sites_12to25 <- get_datasets(altmin=12, altmax=25, limit=2)
# To find all datasets in Brazil
brazil <- '{"type": "Polygon",
"coordinates": [[
 [-73.125, -9.102096738726443],
 [-56.953125,-33.137551192346145],
 [-36.5625,-7.710991655433217],
 [-68.203125,13.923403897723347],
 [-73.125,-9.102096738726443]]]}'
brazil_datasets <- get_datasets(loc = brazil[1], limit=2)
}

Run the code above in your browser using DataLab