Calculate Coefficients of Variation (CVs)
calculate_cvs.Rd
Calculate Coefficients of Variation (CVs)
Arguments
- .df
The dataset returned from
compile_acs_data()
. The argument to this parameter must have an attribute namedcodebook
(as is) true of results fromcompile_acs_data()
.
Examples
if (FALSE) { # \dontrun{
df = compile_acs_data(
variables = list_acs_variables(year = 2022),
years = c(2022),
geography = "county",
states = "NJ",
counties = NULL,
spatial = FALSE)
cvs = calculate_cvs(df) %>%
dplyr::select(matches("_cv$"))
} # }