split_sequence_number: Unpack tumor sequence number data

View source: R/naaccr_factor.R

split_sequence_numberR 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


naaccr documentation built on Nov. 23, 2022, 5:06 p.m.