split_sequence_number: Unpack tumor sequence number data

Description Usage Arguments Value See Also

View source: R/naaccr_factor.R

Description

Separate the multiple types of information in sequenceNumberCentral and sequenceNumberHospital into multiple columns.

Usage

1

Arguments

x

Vector (usually character) of sequence number codes.

Value

A data.frame with three columns:

sequenceNumber

(integer) The number of the tumor in chronological sequence for the patient.

reportable

(logical) If TRUE, then the tumor is required to be reported by SEER/NPCR standards. If FALSE, it is either non-malignant or defined as reportable by the registry.

onlyTumor

(logical) If TRUE, this is the only known SEER/NPCR-reportable or the only known non-SEER/NPCR-reportable tumor for the patient.

sequenceFlag

(factor) Special flags, such as unknowns or changes in reporting requirements. Created using split_sentineled.

See Also

split_sentineled


naaccr documentation built on Jan. 11, 2020, 9:17 a.m.