Description Usage Arguments Examples
Get demographic information variables from survey data and create a data frame object of demographic indicators
1 2 3 4 5 | get_demo_vars(
data,
vars = c("uniqueID", "gender", "landOwnStatus", "nWomen", "nMen", "nOldWomen",
"nOldMen", "nGirls", "nBoys", "nInfants", "nMobility")
)
|
data |
Survey data frame |
vars |
Vector of variable names for demographic information. Default is c("uniqueID", "gender", "landOwnStatus", "nWomen", "nMen", "nOldWomen", "nOldMen", "nGirls", "nBoys", "nInfants", "nMobility") |
1 2 | # Create demoDF using Dhaka survey data
get_demo_vars(data = washdata::surveyDataBGD)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.