Learn R Programming

cancerradarr (version 1.3.1)

read_cancerradar_output_01: Read cancer registry summary statistics (non age-specific)

Description

Read cancer registry summary statistics (non age-specific)

Usage

read_cancerradar_output_01(filename.out, aggr.level = "cob_iso3")

Value

a tibble with 9 columns

  • reg_label: factor, the chosen aggregation level id

  • sex: character, male/female

  • ageg: character, age group (here total)

  • can: character, the cancer type

  • ref: character, the reference population for relative index

  • index: character, the type of index

  • est: dbl, the index estimator

  • lci: dbl, the index confidence interval lower bound

  • uci: dbl, the index confidence interval upper bound

Arguments

filename.out

file path, the path to a cancer RADAR output file

aggr.level

character, the aggregation level to be considered. Should be one of cob_iso3 (country of birth; smaller unit), un_region (UN region), un_subergion ( UN sub-region), hdi_cat (HDI category), asr_rank_cat (cancer burden category in the country of birth), any_migr (any migration background)

Examples

Run this code
filename.out <- system.file('extdata/ex_cancerRADAR_output.xlsx', package = "cancerradarr")
dat.out <- read_cancerradar_output_01(filename.out, 'un_region')
head(dat.out)


Run the code above in your browser using DataLab