Learn R Programming

neotoma2 (version 1.0.5)

getids.collunits: Get object IDs from collectionunits.

Description

From a set of collectionunit objects, return the collectionunit and dataset ids.

Usage

# S3 method for collunits
getids(x, order = TRUE)

Value

data.frame containing siteid, datasetid, and collunitid

Arguments

x

A Neotoma2 collunits object.

order

sort items by siteid, collunitid, datasetid

Examples

Run this code
{
marion <- get_sites(sitename = "Marion Lake")
collunitids <- getids(collunits(marion))
}

Run the code above in your browser using DataLab