Creates Tables 3.2 and 3.3
create_t3.2_t3.3.Rd
Table 3.2 Proportion in percentage of live births by year of registration and year of occurrence
Table 3.3 Proportion in percentage of deaths by year of registration and year of occurrence
Usage
create_t3.2_t3.3(
data,
date_var = "dobyr",
topic = "births",
data_year = NA,
tablename = "Table_3_2",
output_path = NULL
)
Arguments
- data
name of data frame being used
- date_var
year variable for births or deaths occurrences
- topic
whether births or deahts is being run
- data_year
The last 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.