-
Notifications
You must be signed in to change notification settings - Fork 9
dhs
Butch Landingin edited this page Dec 15, 2022
·
1 revision
-
*.DO
files are dictionaries that translate the original columns in the stata file (.DTA
) to a human understable column.
-
povertymapping.utils.data_utils.get_base_dhs_df
andgeowrangler.dhs.load_dhs_file
do the exact same thing except geowrangler returns column names in lower case -
there are a lot of duplicate column names in the loaded data frame.
- for TL (
TLHR17FL.DO
andTLHR17FL.DTA
) there3658
columns of which316
are unique (note: for the data utils version which doesn't lower case the columns there are317
unique colums since there two non-unique column namesIndex to Household Schedule
andIndex to household schedule
which will map to the same lower-case column name)
- for TL (