Learn R Programming

neotoma2 (version 1.0.5)

getids.collunit: Get object IDs from a single collectionunit.

Description

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

Usage

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

Value

data.frame containing siteid, datasetid, and collunitid

Arguments

x

A Neotoma2 collunit object.

order

sort items by siteid, collunitid, datasetid

Examples

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

Run the code above in your browser using DataLab