Read cancer registration data in the format reported to the National Cancer Center.
read_canreg.Rd
Read cancer registration data in the format reported to the National Cancer Center.
Arguments
- x
Address of cancer registration data, it could be a specific excel file, or a folder contains a series of Excel files.
- pop_type
Format of population sheet, options area 'long' or 'wide', default is 'long'.
Examples
library(canregtools)
file <- system.file("extdata", "411721.xls", package = "canregtools")
data <- read_canreg(file)
#> 2200 cases were read from FB sheet.1470 cases were read from SW sheet.