Learn R Programming

SEERaBomb (version 2016.1)

getFields: Get fields from SEER SAS file

Description

Converts the SAS file in the SEER ‘incidence’ directory into a data frame in R.

Usage

getFields(seerHome="~/data/SEER")

Arguments

seerHome
The directory that contains the SEER ‘population’ and ‘incidence’ directories.

Value

starting positions, widths, short names, and expansions thereof.

Details

SEER provides a SAS file for reading SEER ASCII data files into SAS. This file is parsed by getFields() to generate a data frame in R that contains all of the SEER fields. This data frame describes these fields in terms of their names (short and long forms), their starting points, and their widths.

See Also

SEERaBomb-package, mkSEER, pickFields

Examples

Run this code
## Not run: 
# library(SEERaBomb)
# (df=getFields())
# head(df,20)
# ## End(Not run)

Run the code above in your browser using DataLab