Learn R Programming

SEERaBomb (version 2015.2)

mkSEERold: 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 pickFields. This determines which fields to transfer.
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. "73" = 1973-2011, "92" = 1992-2011, and "00" = 2000-2011. This determines the subdirectory in incidence
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.

Value

  • None. This function produces R binary data files.

Details

See mkSEER.

See Also

SEERaBomb-package,mkSEER,getFields,pickFields

Examples

Run this code
library(SEERaBomb)
(df=getFields())
(df=pickFields(df))
for (i in c("73","92","00")) mkSEERold(df,dataset=i)

Run the code above in your browser using DataLab