buildSEERParser: Builds a parser to analyze SEER data.

Description Usage Arguments Value Examples

Description

Datasets downloaded from SEER website (after the request process) come in a compressed file containing, among other things, a .sas file with instructions on data fields (fields width) to parse the text files and also one sentence explanation for every field. One can also obtain data from SEER through the SEER*Stat software. In this case, the text file may come in different ways that are explained in a dictionary file (.dic).

Usage

1
buildSEERParser(file_path, file_source)

Arguments

file_path

A path to the .sas file or .dic file.

file_source

If it is a dictionary file from SEER*Stat the option is "seerstat". Otherwise the option is "download".

Value

A list with parsing instructions for readSEER.

Examples

1
2
3
4
## Not run: 
instr <- buildSEERParser(file_path = "read.seer.research.nov17.sas",
                         file_source = "download")
## End(Not run)

mribeirodantas/vidente documentation built on May 15, 2019, 4:47 p.m.