Skip to contents

Table 3.11 Redistribution of live births with incomplete data on ‘age of mother’

Table 3.12 Redistribution of deaths with incomplete data on ‘age of decedent’

Usage

create_t3.11_and_3.12(
  data,
  date_var,
  data_year = NA,
  by_var,
  tablename = NA,
  topic = NA
)

Arguments

data

data frame being used

date_var

the occurrence year being used e.g. dobyr or dodyr

data_year

the year of the data

by_var

what variable the data is being redistributed by

tablename

name of the table being saved as a csv file

topic

whether the table is births or deaths data

Value

data frames for tabulated versions of Table 3.4 and 3.6

Examples

t3.11 <- create_t3.11_and_3.12(bth_data, dobyr, data_year = 2022, by_var = fert_age_grp, tablename = "Table_3_11", topic = "births")
#> Error: object 'bth_data' not found
t3.12 <- create_t3.11_and_3.12(dth_data, dodyr, data_year = 2022, by_var = age_grp_80, tablename = "Table_3_12", topic = "deaths")
#> Error: object 'dth_data' not found