Skip to contents

Create sheet of cancer statistics

Usage

create_sheet(x, sheet_type = "incidence", cancer_type = "big")

# S3 method for class 'canreg'
create_sheet(x, sheet_type = "incidence", cancer_type = "big")

# S3 method for class 'fbswicds'
create_sheet(x, sheet_type = "incidence", cancer_type = "big")

# S3 method for class 'fbswicd'
create_sheet(x, sheet_type = "incidence", cancer_type = "big")

Arguments

x

The input data, object with class of 'fbswicd', 'fbswicds', 'canreg', or 'canregs'.

sheet_type

Character value indicate type of sheet, options are 'incidence', 'mortality', 'quality', 'population'.

cancer_type

A character string specifying the classification method used to categorize ICD-10 codes. This determines how ICD-10 codes are classified. Options include "big" (classify ICD-10 codes into 26 cancer categories), "small" (classify ICD-10 codes into 59 cancer categories, more specific categories), "system" (classify ICD-10 codes into organ system), and "gco" (classify ICD-10 code into cancer categories same as classification published by the Global Cancer Observatory). This parameter is only available when the input data is a vector of ICD-10 codes, or object with class of 'canreg' or 'canregs'.

Value

A data frame or tibble contains the age standard rates and CIs.