Skip to contents

Table 4.8 Crude birth rate (CBR) by place of usual residence of mother

Usage

create_t4.8(
  data,
  est_data,
  pops,
  date_var,
  data_year = NA,
  by_var = NA,
  tablename = "Table_4_8",
  output_path = NULL
)

Arguments

data

data frame being used

est_data

data frame for estimate data

pops

estimated population sizes by year

date_var

occurrence data variable being used

data_year

year of data

by_var

variable the data is grouped by

tablename

name for csv output use _ instead of . for names

output_path

The path to export the generated table

Value

data frame with tabulated result

Examples

t4.8 <- create_t4.8(bth_data, bth_est, dobyr, data_year = 2022, by_var = birth1c, tablename = "Table_4_8")
#> Error: object 'bth_data' not found