R/annual_state_race_targets.r

#' \code{dgo} example data: annual U.S. population targets by state and race
#'
#' A table giving U.S. population proportions by year for combinations of state
#' and three-category race variables. These are the same data as in
#' \code{\link{targets}}, but aggregated over all the other demographic
#' variables in that dataset. For use with the \code{target_data} argument of
#' function \code{shape} in package '\href{https://jdunham.io/dgo/}{dgo}'. Data
#' are from the U.S. Census. Proportions sum to to 1 within years.
#'
#' @docType data
#' @name annual_state_race_targets
#' @usage annual_state_race_targets
#' @format A {data.frame} with 13,158 observations of 4 variables.
#' @seealso \url{http://www.census.gov/}
NULL
jamesdunham/dgodata documentation built on May 18, 2019, 11:20 a.m.