% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/st_yoy_metrics.R
\name{calculate_yoy_growth}
\alias{calculate_yoy_growth}
\title{Calculate year-over-year growth rates}
\usage{
calculate_yoy_growth(yoy_data, baseline_year = NULL)
}
\arguments{
\item{yoy_data}{Output from st_yoy_metrics}

\item{baseline_year}{The year to use as baseline (default: earliest year)}
}
\value{
A tibble with growth rates relative to baseline year
}
\description{
Helper function to calculate YoY growth rates from the output of st_yoy_metrics
}
