| data_individual_file | R Documentation |
Data individual example for the function csu_group_cases
1 line = 1 cases.
data("data_individual_file")
A data frame with 19284 observations on the following 10 variables.
regcoderegistry code
reglabelregistry label
sexsex
ageage
doidate of birth (yyyymmdd)
siteICD10 code
histohistology
behbehavior code
gradegrade
basisbasis
This dataset provide an example how to group individual cases to 5 years data, grouped by ICD code and year using the function csu_group_cases and the database ICD_group_GLOBOCAN
csu_group_cases
ICD_group_GLOBOCAN
ICD_group_CI5
data(ICD_group_GLOBOCAN)
data(data_individual_file)
#group individual data by
# 5 year age group
df_data_age <- csu_group_cases(data_individual_file,
var_age="age",
group_by=c("sex", "regcode", "reglabel", "site"))
#group individual data by
# 5 year age group
# ICD grouping from dataframe ICD_group_GLOBOCAN
df_data_icd <- csu_group_cases(data_individual_file,
var_age="age",
group_by=c("sex", "regcode", "reglabel"),
df_ICD = ICD_group_GLOBOCAN,
var_ICD ="site")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.