otherRepFun: Pulls the other-reported cancer files for a particular INCCAN...

Description Usage Arguments Value Author(s) Examples

View source: R/pullReported.R

Description

Feed it a year and an ICD code and this will recode the reported file for the NOT INCCAN code. For example, if I tell it "C61" the function will return all reported cancers that are NOT prostate cancer.

Usage

1
reportedFun(dat,yr)

Arguments

dat

Name of the data frame

yr

Character string, year suffix (i.e. "15","13","09","97", etc)

Value

Returns a formatted reported file with ID and a "OTHREP" flag variable (0,1)

Author(s)

Brian Carter

Examples

1
2
report <- readRDS("cancer15apr2019reported.rds")
report15 <- otherRepFun(report,"15")

buddha2490/MargotFun documentation built on Nov. 4, 2019, 8:16 a.m.