Reconcile ages 0-1, 1-4 and 0-4

dd_firstages_compute(data)

Arguments

data

The data to be harmonized

Value

A dataset with ages 0-1, 1-4 and 0-4 reconciled.

Details

If 0-4 is missing and 0-1 and 1-4 are present, then sum both to get 0-4. You can run getAnywhere(dd_firstages_compute) to view the definition of this function.

Examples

if (FALSE) {
df <- firstages_compute_df
df <- dd_firstages_compute(df)
}