Skip to contents

Table 4.1 Summary statistics on fertility by year of occurrence

Usage

create_t4.1(
  data,
  est_data,
  pops,
  date_var = "dobyr",
  tablename = "Table_4_1",
  output_path = NULL
)

Arguments

data

births data frame

est_data

estimate data frame

pops

population data frame

date_var

variable for year

tablename

name for csv output use _ instead of . for names

output_path

The path to export the generated table

Value

data frame with tabulated results

Examples

t4.1 <- create_t4.1(bth_data, est_data, pops, date_var = dobyr, tablename = "Table_4_1")
#> Error: object 'bth_data' not found