st_mrs_age_test: Star Schema for Mortality Reporting System by Age Test

Description Usage Format Examples

Description

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

Usage

1

Format

A star_schema object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
# Defined by:

library(tidyr)

st_mrs_age_test <- star_schema(mrs_age_test, dm_mrs_age) %>%
  role_playing_dimension(
    dim_names = c("when", "when_available"),
    name = "When Common",
    attributes = c("date", "week", "year")
  ) %>%
  snake_case() %>%
  character_dimensions(NA_replacement_value = "Unknown",
                       length_integers = list(week = 2))

starschemar documentation built on Jan. 13, 2021, 7:33 p.m.