Creates Tables 3.5 or 3.7
create_t3.5_and_3.7.Rd
Table 3.5 Birth registration completeness by place of usual residence of mother and sex of newborn
Table 3.7 Death registration completeness by place of usual residence and sex of decedent
Usage
create_t3.5_and_3.7(
data,
est_data,
date_var,
topic = NA,
data_year = NA,
tablename = "Table_3_5",
output_path = NULL
)
Arguments
- data
dataframe being used
- est_data
data frame of estimated data being used
- date_var
occurrence data being used e.g. dobyr, dodyr etc
- topic
whether the data is for births or deaths
- data_year
The year to report on. Defaults to the last in the data.
- tablename
Name of the table to be saved as a csv file. Optional.
- output_path
The path to export the generated csv table. Optional.