Learn R Programming

SUMMER (version 0.1.0)

getBirths: Function to get Births file from DHS .dta files.

Description

Function to get Births file from DHS .dta files.

Usage

getBirths(filepath, surveyyear)

Arguments

filepath

file path of raw .dta file from DHS

surveyyear

year of survey

Value

A list of birth-month data

Examples

Run this code
# 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