Description Usage Arguments Value Examples
Combine all WASH indicator sets
1 2 3 4 5 6 7 8 9 10 | combine_wash(
admin,
demo,
poverty,
water,
sanitation,
handwash,
hygiene,
overall
)
|
admin |
Administrative dataset |
demo |
Demographic indicators dataset |
poverty |
Poverty indicators dataset |
water |
Water indicators dataset |
sanitation |
Sanitation indicators dataset |
handwash |
Handwashing indicators dataset |
hygiene |
Hygiene indicators dataset |
overall |
Overall indicators dataset |
A data frame containing all WASH indicators
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | # apply combine_wash() to surveyDataBGD dataset
ppiMatrixBGD <- washdata::ppiMatrixBGD
admin <- get_admin_vars(data = washdata::surveyDataBGD)
demo <- get_demo_vars(data = washdata::surveyDataBGD)
poverty <- get_poverty_vars(surveyData = washdata::surveyDataBGD,
index = washdata::surveyDataBGD$ppi,
ccode = "BGD",
ppiTable = ppitables::ppiBGD2013)
water <- get_water_vars(surveyData = washdata::surveyDataBGD)
sanitation <- get_sanitation_vars(surveyData = washdata::surveyDataBGD)
handwash <- get_handwashing_vars(surveyData = washdata::surveyDataBGD)
hygiene <- get_hygiene_vars(surveyData = washdata::surveyDataBGD)
overall <- get_overall_vars(adminDF = admin, waterDF = water, sanDF = sanitation)
indicatorsDF <- combine_wash(admin = admin, demo = demo, poverty = poverty,
water = water, sanitation = sanitation,
handwash = handwash, hygiene = hygiene,
overall = overall)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.