% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_data.R
\name{species_count_plot}
\alias{species_count_plot}
\title{Species Count Plot by Growth Habit and Duration}
\usage{
species_count_plot()
}
\value{
A list containing:
\describe{
\item{plot_growthhabit}{A \code{ggplot} object showing species counts by growth habit.}
\item{plot_duration}{A \code{ggplot} object showing species counts by duration.}
\item{growthhabit_summary}{A data frame summarizing species counts by growth habit.}
\item{duration_summary}{A data frame summarizing species counts by duration.}
}
}
\description{
Retrieves species data from the \code{general_information} table in the ILORA database,
calculates the number of distinct species for each growth habit and duration category,
and generates bar plots to visualize these counts. Summary tables are also included.
}
\examples{
\donttest{
# Generate and display plots for growth habit and duration
plots <- species_count_plot()
print(plots$plot_growthhabit)
print(plots$plot_duration)
}

}
