siteLookup: Converts a name description to ICD matching pattern

Description Usage Arguments Value Author(s) See Also Examples

Description

Given a cancer name (one from listCancers), a regular expression pattern is returned to match all ICD-09 site codes that are associated with that cancer name. This regex expression can be passed to readSEER as the site argument. Alternatively, this function is called internally by readSEER if only a cancer name is given.

Usage

1
2

Arguments

cancer

Character string of a cancer name. Accepted names listed by listCancers.

Value

siteLookup returns a regular pattern expression used to match ICD-09 codes.

listCancers returns a vector of accepted cancer names.

Author(s)

Jonathan Lee jonathan@utstat.utoronto.ca

See Also

readSEER

Examples

1
2
listCancers()
siteLookup("Larynx")

UScancer documentation built on May 1, 2019, 9:21 p.m.