For analysts who are familiar with routinely collected national NHS data and provides a data dictionary, data quality and summary of methods for defining cohorts, characteristics and outcomes of lung cancer patients.
df=read.csv("data/lung_NSCLC_TNM8_staging.csv",row.names=1,header=T,sep="\t")
df[3:4,1] = kableExtra::cell_spec(df[3:4,1], color="black", background="#a9d18e")
df[1:3,2] = kableExtra::cell_spec(df[1:3,2], color="black", background="#a9d18e")
df[1:5,3] = kableExtra::cell_spec(df[1:5,3], color="red", background="#ffff00")
df[1:5,4] = kableExtra::cell_spec(df[1:5,4], color="red", background="#ffff00")
df[4,2] = kableExtra::cell_spec(df[4,2], color="red", background="#ffff00")
df[5,1:2] = kableExtra::cell_spec(df[5,1:2], color="red", background="#ffff00")
knitr::kable(df, booktabs=TRUE, escape=FALSE)
| N0 | N1 | N2 | N3 | |
|---|---|---|---|---|
| T1 | IA | IIB | IIIA | IIIB |
| T2a | IB | IIB | IIIA | IIIB |
| T2b | IIA | IIB | IIIA | IIIB |
| T3 | IIB | IIIA | IIIB | IIIC |
| T4 | IIIA | IIIA | IIIB | IIIC |
| M1a | IVA | IVA | IVA | IVA |
| M1b | IVA | IVA | IVA | IVA |
| M1c | IVB | IVB | IVB | IVB |
| Time.Point | Reference.Date | Time.Limits |
|---|---|---|
| Diagnosis | diag_date_1 | within 28 days |
| Pre-surgery | date_of_1st_surgical_treatment or date_of_first_radical_surgery(06) | within 28 days prior |
| Post-surgery (1) | date_of_1st_surgical_treatment or date_of_first_radical_surgery(06) + 6 months | within 42 days |
| Post-surgery (2) | date_of_1st_surgical_treatment or date_of_first_radical_surgery(06) + 12 months | within 42 days |
| Pre-radiotherapy | rsrtdate | within 28 days prior |
| Post-radiotherapy (1) | rcompdate | within 28 days post |
| Post-radiotherapy (2) | rsrtdate + 6 months | within 42 days |
| Post-radiotherapy (3) | rsrtdate + 12 months | within 42 days |
| Pre-adjuvant durvalumab | durvdat | within 28 days prior |
| On treated durvalumab | durvdat + 6 months | within 28 days |
| End of adjuvant durvalumab | durvendate | within 28 days |
| Progression | pd_date | within 28 days |
| Death | dod | within 28 days |