% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/codes.R
\name{dashboard_codes}
\alias{dashboard_codes}
\title{Return commonly used Statistics Dashboard API codes}
\usage{
dashboard_codes(
  type = c("cycle", "regional_rank", "seasonal", "provisional", "social_event_level"),
  lang = c("en", "jp")
)
}
\arguments{
\item{type}{One of \code{"cycle"}, \code{"regional_rank"}, \code{"seasonal"},
\code{"provisional"}, or \code{"social_event_level"}.}

\item{lang}{Label language, \code{"en"} or \code{"jp"}.}
}
\value{
A tibble containing \code{code}, \code{name}, and \code{type}.
}
\description{
The API's full category, survey, and region code systems are maintained by
the Statistics Bureau. This helper returns the small enumerations used
directly by package arguments.
}
\examples{
dashboard_codes("cycle")
dashboard_codes("regional_rank", lang = "jp")
}
