data_individual_file {Rcan}R Documentation

Data individual example

Description

Data individual example for the function csu_group_cases
1 line = 1 cases.

Usage

data("data_individual_file")

Format

A data frame with 19284 observations on the following 10 variables.

regcode

registry code

reglabel

registry label

sex

sex

age

age

doi

date of birth (yyyymmdd)

site

ICD10 code

histo

histology

beh

behavior code

grade

grade

basis

basis

Details

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

See Also

csu_group_cases ICD_group_GLOBOCAN ICD_group_CI5

Examples



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") 


[Package Rcan version 1.3.82 Index]