getFields {SEERaBomb}R Documentation

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.

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.

Value

A data frame with one row for each field and columns that contain corresponding starting positions, widths, sas names, short names, and expansions thereof.

Author(s)

Tom Radivoyevitch (radivot@ccf.org)

See Also

SEERaBomb-package, mkSEER, pickFields

Examples

## Not run: 
library(SEERaBomb)
(df=getFields())
head(df,20)

## End(Not run)

[Package SEERaBomb version 2019.2 Index]