This function adds a county of residence variable to any 'data.frame' that has a 'person_id' column.
1 | add_county(dat, id_var = "person_id")
|
dat |
The data.frame to be modified |
id_var |
The name of the identifier to merge on ('person_id' by default) |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.