View source: R/add_characteristics.R
Sample extra characteristics from char pums and add them to the pop df
1 | demo_sample(pop_df, char_pums, var_names, args = NULL)
|
pop_df |
a df that has been subsetted |
char_pums |
data frame of PUMS characteristics to add |
var_names |
variables we want to match on |
args |
list of additional arguments |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.