getids.collunits: Get object IDs from collectionunits.

View source: R/getids.r

getids.collunitsR Documentation

Get object IDs from collectionunits.

Description

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

Usage

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

Arguments

x

A Neotoma2 collunits object.

order

sort items by siteid, collunitid, datasetid

Value

data.frame containing siteid, datasetid, and collunitid

Examples

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

neotoma2 documentation built on May 29, 2024, 6:21 a.m.