View source: R/format-estimates.R
format_estimates | R Documentation |
Format estimates of a county summary table with the option to include shares and share margins of error.
format_estimates(table, type = "total", moe = TRUE)
table |
A data frame/tibble from 'get_acs_recs()' for a single table and time period. |
type |
A character, select either 'total' or 'share'. |
moe |
A logical value, TRUE or FALSE to include or exclude margins of error. |
A data frame of ACS estimates by PSRC counties and region of either total estimates or proportions, with or without margins of error.
Christy Lam
df <-get_acs_recs(geography = 'county',
table.names = c('B03002'),
years = c(2019),
acs.type = 'acs1')
format_estimates(df)
format_estimates(df, type = 'share', moe = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.