mkSEERold {SEERaBomb} | R Documentation |
Make SEER binaries as before
Description
Converts SEER ASCII text files into smaller R binaries. This is being maintained to avoid fixing old scripts. Please use mkSEER for new scripts.
Usage
mkSEERold(df,seerHome="~/data/SEER",
dataset=c("00","73","92"),SQL=TRUE, mkDFs=FALSE)
Arguments
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. |
dataset |
The SEER database to use, specified as a string of the last two digits of the starting year, i.e. |
SQL |
TRUE if an SQLite database is to be created. The file ‘all.db’ produced in this case can be significantly larger than the sum of the ‘*.RData’ files also produced. |
mkDFs |
TRUE if you wish to make data frame binaries. |
Details
See mkSEER.
Value
None. This function produces R binary data files.
Author(s)
Tom Radivoyevitch (radivot@ccf.org)
See Also
SEERaBomb-package,mkSEER,getFields,pickFields
Examples
## Not run:
library(SEERaBomb)
(df=getFields())
(df=pickFields(df))
for (i in c("73","92","00")) mkSEERold(df,dataset=i)
## End(Not run)