View source: R/add_populations.R
add_pop_counts | R Documentation |
Uses the internal narcan::pop_est dataset to return yearly population estimates by age, sex, and race. See narcan::pop_est for columns and possible values of each matching variable
add_pop_counts(df, by_vars = c("year", "age", "sex", "race"))
df |
MCOD dataframe |
by_vars |
variables to match on |
dataframe
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.