surveyweathertool.src.survey.get_survey_data

Module Contents

Functions

create_common_index(→ pandas.DataFrame)

Function which harmonises the different survey df indices

get_roster_df(→ pandas.DataFrame)

Given flap file returns hhid, indiv id location, age, sex and temporal info for all individuals who ever answered a survey

get_education_df(→ pandas.DataFrame)

Get Education columns from LSMS harmonised Nigeria

get_health_df(filename)

Get Health columns from LSMS harmonised Nigeria

get_housing_df(filepaths)

Get Shelter, Sanitation, & Water columns from LSMS harmonised Nigeria

get_nutrition_df(filepaths)

Get Nutrition columns from LSMS harmonised Nigeria

surveyweathertool.src.survey.get_survey_data.create_common_index(df: pandas.DataFrame) pandas.DataFrame

Function which harmonises the different survey df indices

surveyweathertool.src.survey.get_survey_data.get_roster_df(cover_filepath) pandas.DataFrame

Given flap file returns hhid, indiv id location, age, sex and temporal info for all individuals who ever answered a survey

surveyweathertool.src.survey.get_survey_data.get_education_df(filename) pandas.DataFrame

Get Education columns from LSMS harmonised Nigeria

surveyweathertool.src.survey.get_survey_data.get_health_df(filename)

Get Health columns from LSMS harmonised Nigeria

surveyweathertool.src.survey.get_survey_data.get_housing_df(filepaths)

Get Shelter, Sanitation, & Water columns from LSMS harmonised Nigeria

surveyweathertool.src.survey.get_survey_data.get_nutrition_df(filepaths)

Get Nutrition columns from LSMS harmonised Nigeria

nup_pp_mod_s.dta → hs_05 & hs_01g nup_ph_mod_s.dta → hs_05 & hs_01g