% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/trini_communities.R
\name{trini_communities}
\alias{trini_communities}
\title{Read the \code{trini_communities} dataset}
\usage{
trini_communities(traits = FALSE)
}
\arguments{
\item{traits}{Logical; if \code{TRUE}, the returned tibble includes the fuzzy
trait columns. If \code{FALSE} (the default), only the taxonomy, abundance,
bromeliad ID and stage columns are returned.}
}
\value{
A tibble with one row per taxon per bromeliad, with columns for
taxonomy, abundance, and bromeliad ID, and, when \code{traits = TRUE}, a set of
discrete (fuzzy) trait columns.
}
\description{
Reads the \code{trini_communities} dataset, a set of invertebrate
community samples from 17 Trinidadian bromeliads (from @Rogy2024). It is provided
as a toy dataset to try out the package, alongside \code{\link[=bromeliad_inverts_measurements]{bromeliad_inverts_measurements()}}.
Each taxon also carries a set of discrete (fuzzy) trait columns, matched from a
trait database (@Cereghino2018), that can be returned with \code{traits = TRUE} to
illustrate the trait-based grouping functions.
}
\examples{
# The communities the package ships with
trini_communities()

# The same, with the fuzzy trait columns
trini_communities(traits = TRUE)
}
