mapRegs {SEERaBomb}R Documentation

Map registry codes to acronyms

Description

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

Usage

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

library(SEERaBomb)
mapRegs(1501)
mapRegs()

[Package SEERaBomb version 2019.2 Index]