st_mrs_cause_test: Star Schema for Mortality Reporting System by Cause Test

st_mrs_cause_testR Documentation

Star Schema for Mortality Reporting System by Cause Test

Description

Star Schema for the Mortality Reporting System considering the cause classification data test.

Usage

st_mrs_cause_test

Format

A star_schema object.

Examples

# Defined by:

st_mrs_cause_test <- star_schema(mrs_cause_test, dm_mrs_cause) |>
  snake_case() |>
  character_dimensions(
    NA_replacement_value = "Unknown",
    length_integers = list(
      week = 2,
      data_availability_week = 2,
      reception_week = 2
    )
  ) |>
  role_playing_dimension(
    dim_names = c("when", "when_received", "when_available"),
    name = "when_common",
    attributes = c("date", "week", "year")
  )


josesamos/starschemar documentation built on May 6, 2024, 5:57 a.m.