reportedFun: Pulls the reported files for a particular INCCAN code

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 some reported-file stuff. Pretty simple

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 "REPORT" flag variable (0,1)

Author(s)

Brian Carter

Examples

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

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