Creates Table 3.4 and 3.6
create_t3.4_and_3.6.Rd
Creates Table 3.4 and 3.6
Usage
create_t3.4_and_3.6(
data,
est_data,
topic = NA,
date_var = "dobyr",
data_year = NA,
tablename = "Table_3_4",
output_path = NULL
)
Arguments
- data
data frame being used
- est_data
data frame of estimated data being used
- topic
whether the table is births or deaths data
- 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.
- by_var
the occurrence year being used e.g. dobyr or dodyr