Files
uscogdata/man/cog_recipes.Rd
T
Claude 19b5b02d2f docs: render the roxygen markdown the reference pages are written in
The roxygen comments use markdown (**bold**, `code`, [cog_x()] links,
bullet lists) but DESCRIPTION had no `Roxygen: list(markdown = TRUE)`,
so the generated .Rd files carried that syntax literally. It also meant
a bare `%` started an Rd comment and silently cut the rest of its line
from seven places in the rendered pages, including "7% of the no-filter
floor", "-32.7% to +251.0% across 24 years" and the `filter(role %in%
...)` line of cog_peer_compare()'s example.

Adds the setting and regenerates man/ with roxygen2 7.3.3 (matching
RoxygenNote). The only source change is escaping one literal
"[min year, max year]" in an @noRd block in R/balance_caveats.R, which
markdown mode otherwise reads as a link. No wording or code changed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Qbe6u2h83wgZdTgJgE4Xh5
2026-11-04 20:21:24 +00:00

23 lines
751 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/recipes.R
\name{cog_recipes}
\alias{cog_recipes}
\title{List available harmonization recipes}
\usage{
cog_recipes(pattern = NULL)
}
\arguments{
\item{pattern}{Optional regex matched case-insensitively against
\code{recipe_id} or \code{label}.}
}
\value{
Tibble with columns \code{recipe_id}, \code{label}, \code{n_components},
\code{year_min}, \code{year_max} (the min/max component year coverage), sorted by
\code{recipe_id}.
}
\description{
Recipes are multi-code cross-vintage series (see \code{\link[=cog_spending]{cog_spending()}}'s
\code{recipe} argument) catalogued in the corpus's \code{harmonization_recipes}
table. Use this to discover valid \code{recipe} ids.
}