Description Usage Arguments Details Value Note Author(s) See Also Examples
Converts SEER ASCII text files into large R binaries that include all cancer types and registries combined.
1 2 3 |
df |
A data frame that was the output of |
seerHome |
The directory that contains the SEER ‘population’ and ‘incidence’ directories. This should be writable by the user. |
outDir |
seerHome subdirectory to write to. Default is ‘mrgd’ for all registries merged together. |
outFile |
Base name of the SQLite database and cancer binary. Default = cancDef (Cancer Default). |
indices |
Passed to |
writePops |
TRUE if you wish to write out the population data frame binaries. Doing so takes ~10 seconds, so savings of FALSE are small. |
writeRData |
TRUE if you wish to write out the cancer data frame binary. Writing files takes most of the time. |
writeDB |
TRUE if you wish to write cancer, popga, popsa, and popsae data frames to SQLite database tables. |
This function uses the R package LaF to access the fixed-width format data files
of SEER. LaF is fast, but it requires knowledge of all the widths of columns wanted, as well as the the widths of unwanted stretches in between. This knowledge is produced by getFields()
and pickFields()
combined. It is passed to mkSEER()
via the argument df
.
None, it produces R binary files of the SEER data.
This takes a substantial amount of RAM (it works on a Mac with 16 GB of RAM) and time (~3 minutes using default fields).
Tom Radivoyevitch (radivot@ccf.org)
SEERaBomb-package,getFields,pickFields
1 2 3 4 5 6 7 8 9 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.