Reconcile ages 0-1, 1-4 and 0-4
dd_firstages_compute(data)
The data to be harmonized
A dataset with ages 0-1
, 1-4
and 0-4
reconciled.
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.
if (FALSE) {
df <- firstages_compute_df
df <- dd_firstages_compute(df)
}