getids.collunit {neotoma2}R Documentation

Get object IDs from a single collectionunit.

Description

From a collectionunit object, return the collectionunit and dataset ids.

Usage

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

Arguments

x

A Neotoma2 collunit 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)[[1]])
}

[Package neotoma2 version 1.0.3 Index]