R/data.R

#' Education levels
#'
#' Educational attainment data for adults ages 25 and over for 5 New Haven-area towns, 2016. `edu` is an abridged version with just counts of adults with Bachelor's and Master's degrees. `edu_detail` contains detailed education levels from no schooling through Doctorate.
#'
#' @format A tibble with 4 columns. For `edu`, 15 rows; for `edu_detail`, 125 rows.
#' \describe{
#'   \item{name}{Town name}
#'   \item{variable}{Education level}
#'   \item{estimate}{Estimated count}
#'   \item{moe}{Margin of error of estimates}
#' }
#' @source US Census Bureau, American Community Survey 2016 5-year estimates
#' @name edu
NULL

#' @rdname edu
"edu"

#' @rdname edu
"edu_detail"


#' Ratios to poverty by age
#'
#' Population by age group by ratio of household income to the federal poverty level for Greater New Haven towns, 2016
#'
#' @format A tibble with 1690 rows and 5 columns
#' \describe{
#'   \item{name}{Town name}
#'   \item{age}{Age group}
#'   \item{ratio}{Ratio bracket}
#'   \item{estimate}{Estimated count}
#'   \item{moe}{Margin of error of estimates}
#' }
#' @source US Census Bureau, American Community Survey 2016 5-year estimates
"pov_age"

#' Ratios to poverty by age for 2 years
#'
#' Population by age group by ratio of household income to the federal poverty level for Greater New Haven towns, 2010 and 2016
#'
#' @format A tibble with 3380 rows and 6 columns
#' \describe{
#'   \item{name}{Town name}
#'   \item{year}{Endyear of estimates}
#'   \item{age}{Age group}
#'   \item{ratio}{Ratio bracket}
#'   \item{estimate}{Estimated count}
#'   \item{moe}{Margin of error of estimates}
#' }
#' @source US Census Bureau, American Community Survey 2010 and 2016 5-year estimates
"pov_age_10_16"

#' Populations by race
#'
#' Population by race for Greater New Haven towns, 2016
#'
#' @format A tibble with 65 rows and 5 columns
#' \describe{
#'   \item{name}{Town name}
#'   \item{variable}{Racial group}
#'   \item{estimate}{Estimated count}
#'   \item{moe}{Margin of error of estimates}
#'   \item{region}{Region of town}
#' }
#' @source US Census Bureau, American Community Survey 2016 5-year estimates
"race_pops"
camille-s/camiller documentation built on Jan. 22, 2022, 6:50 a.m.