mapRegs: Map registry codes to acronyms

Description Usage Arguments Value Note Author(s) See Also Examples

View source: R/mapRegs.R

Description

Maps codes for SEER registries to 2-letter acronyms and corresponding descriptions.

Usage

1
mapRegs(code=NA)

Arguments

code

Full SEER codes as found in SEER Cancer files. Add 1500 to popuation file codes get such cancer file codes. If this argument is missing (the default) a full dataframe of symbols and descriptions is returned.

Value

A dataframe of SEER registry symbols and descriptions with rownames such as "1501" for sf (san francisco) and "1520" for dM (detroit Michigan), or just the symbol if the rowname is given. Note that city characters are in lower case and state characters are in upper case.

Note

This function is used by mkSEER when it generates merged R binaries. It is exposed to provide quick access to registry acronym definitions.

Author(s)

Tom Radivoyevitch (radivot@ccf.org)

See Also

SEERaBomb-package, mapCancs

Examples

1
2
3
library(SEERaBomb)
mapRegs(1501)
mapRegs()

SEERaBomb documentation built on Dec. 16, 2019, 1:21 a.m.