powered by
Function to get Births file from DHS .dta files.
getBirths(filepath, surveyyear)
file path of raw .dta file from DHS
year of survey
A list of birth-month data
# NOT RUN { my_fp <- "/myExampleFilepath/surveyData.DTA" Uganda <- getBirths(filepath = my_fp, surveyyear = 2015) # } # NOT RUN { # }
Run the code above in your browser using DataLab