Table 4.2 Live births by place of occurrence (birth1c) and sex (birth2a) of newborn
Usage
create_t4.2(
data,
est_data,
date_var = "dobyr",
data_year = NA,
tablename = "Table_4_2",
output_path = NULL
)
Arguments
- data
Birth records data frame
- est_data
Estimated births data frame
- date_var
Name of date variable (years)
- data_year
Year of which to select the data
- tablename
Name of the table to be saved as a csv file
- output_path
The path to export the generated csv table
Value
A table of counts of births for each place of occurance split by sex.
Examples
t4.2 <- create_t4.2(birth_data, est_data, date_var = "dobyr",
data_year = 2023, tablename = "Table_4_2", output_path = "outputs/births/")
#> Error: object 'birth_data' not found