split_sequence_number {naaccr}R Documentation

Unpack tumor sequence number data

Description

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

Usage

split_sequence_number(x)

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


[Package naaccr version 2.0.2 Index]