mkNCDB: Make NCDB R Binary

Description Usage Arguments Value Note Examples

View source: R/mkNCDB.R

Description

Uses output of pickFields() to produce an R binary of the NCDB data.

Usage

1
mkNCDB(df, ncdbHome = "~/data/NCDB", outFile = "cancDef")

Arguments

df

Tibble returned by pickFields

ncdbHome

Location of NCDB fixed width format ASCII files.

outFile

Name of output file, which will placed in ncdbHome.

Value

Tibble (big data file) saved as canc in outFile.

Note

Inspired by mkSEER() in SEERaBomb.

Examples

1
2
3
4
5
6
## Not run: 
library(NCDBR)
d=getFields()
d=pickFields(d)
canc=mkNCDB(d) 
## End(Not run)

SophiaJia/NCDBR documentation built on May 29, 2019, 12:36 p.m.