nordcan_processed_cancer_death_count_dataset: NORDCAN Cancer Death Count Dataset

View source: R/processed_cancer_death_count_dataset.R

nordcan_processed_cancer_death_count_datasetR Documentation

NORDCAN Cancer Death Count Dataset

Description

Create the NORDCAN cancer death count dataset from raw data.

Usage

nordcan_processed_cancer_death_count_dataset(x)

Arguments

x

⁠[data.table]⁠ (mandatory, no default)

the dataset of death counts as per the call for data

Examples

dt <- data.table::data.table(
  year = 2018L,
  sex = 1L,
  region = 11L,
  agegroup = 1L,
  icd_code = "1751",
  icd_version = 7L,
  cancer_death_count = 10L
)

nordcancore::set_global_nordcan_settings(
  work_dir = ".",
  participant_name = "Norway",
  first_year_incidence = 1960L,
  first_year_mortality = 1980L,
  first_year_region = 1990L,
  last_year_incidence = 2020L,
  last_year_mortality = 2020L,
  last_year_survival = 2020L
)
cdcd <- nordcan_processed_cancer_death_count_dataset(x = dt)

CancerRegistryOfNorway/nordcanpreprocessing documentation built on May 2, 2023, 3:38 p.m.