Skip to contents

Table 5.12 Foetal deaths by gestational age and birth weight of foetus

Variables needed per record:

- `dodyr`: Year of death.

- `death1j`: Foetal death Identifier.

- `gest_time`: Gestation time. Ideally this will be grouped.

- `bthwgt_grp`: Birth weight. Ideally this will be grouped.

Usage

create_t5.12(
  data,
  date_var = "dodyr",
  data_year = NA,
  tablename = "Table_5_12",
  output_path = NULL
)

Arguments

data

Death records data frame.

date_var

Event year column of the dataframe. Defaults to "dodyr".

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.

Value

data frame with tablutated results

Examples

table_5_12 <- create_t5.12(death_data)
#> Error: object 'death_data' not found