March_10_Informal_Response

View on GitHub

March_10_Informal_Response

Cameroon, South Africa

Import the households dataset for your selected country and create a data frame with a variable that describes each of the following. household ID unit weights location size gender age education wealth

cameroon_processed

Pivot the persons columns within your households data to a long format in order to produce a similarly specified dataset that describes all persons residing within all households.

cameroon_5_feats

Using this data frame describing all persons standardize, normalize and percentize your variables and visualize each post transformed dataset as a heatmap that illustrates the heterogeneity of the combination of patterns.

Raw data heatmap

raw

Scaled data heatmap

scaled

Percentized data heatmap

percentize

Normalized data heatmap

normalize