pickFields(sas,picks=c("casenum","reg","race","sex","agedx",
"yrbrth","seqnum","modx","yrdx","histo3","radiatn","recno",
"agerec","ICD9","numprims","COD","surv"))getFields() using the SAS file found in
the seerHome, the root of the SEER ASCII data installation.sas, and must at least include the bare minimum of all of the defaults given here.sas, shortened to just the rows of picks, and then expanded to include
spacer rows of fields of no interest pooled into single strings: the width of such a spacer row is equal to
the distance in bytes between the fields of interest above and below it. This data frame is then
used by laf_open_fwf() of mkSEER() to read the SEER files. Proper use of this function, and of the SEER data in general,
requires an understanding of the contents of seerHome.SEERaBomb is faster than SEER*Stat
because it tailors/streamlines the database to your interests.SEERaBomb-package, getFields, pickFields, mkSEERlibrary(SEERaBomb)
(df=getFields())
(df=pickFields(df))Run the code above in your browser using DataLab