Skip to contents

Get one observation/row per genus from a specimen dataframe.

Usage

getGenusRepr(specimen_dataframe)

Arguments

specimen_dataframe

A specimen dataframe.

Value

A dataframe where each column pertains to a variable and each row an individual specimen.

Examples

# query data then extract one observation for each of the genera available

specdata <- PhyInsight::querySpecData("Alouatta")

specdata <- getGenusRepr(specdata)