| Variable | Mean | SD | Lower IQR | Median | Upper IQR | Min | Max |
|---|---|---|---|---|---|---|---|
| age | 54.518 | 16.683 | 42 | 54.00 | 68.000 | 12.0 | 91 |
| bmi | 27.760 | 5.720 | 24 | 27.05 | 30.925 | 17.1 | 50 |
Data Description
Details of the data set.
Source
The data is derived from specialist Thyroid cancer units where patients presenting with symptoms (e.g. nodules) are assessed in greater detail and decisions are made as to whether imaging or further biopsies are required.
Data
An ASCII CSV file (Thy3000_DATA_LABELS_Raw.csv) with data on 584 cases has been provided. There is no data dictionary defining what each field is nor its type available yet.
NB Some of the column headers have commas (,) in the variable names, this can cause problems when reading CSV files. Such strings should be double-quoted which appears to be the case but something to check carefully.
| Variable (as received) | Type | Description | Renamed to… |
|---|---|---|---|
Record ID |
str |
Unique identifier. | record_id |
Data Access Group |
str |
Center | center |
Study ID |
str |
Study Identifiers. | study_id |
1.1 Date of referral |
date |
Date of referral | referral_date |
1.2 Which clinic was the patient recruited from? |
str |
Recruting clinic. | recruiting_clinic |
If Other |
str |
Other referring clinic. | |
1.3. The date the patient was seen in clinic |
date |
Date patient was seen in clinic. | clinc_date |
1.4 Referral source |
str |
Source of referral | referral_source |
"If Other please specify |
str |
Other referring source | |
"1.4.1 If GP was it 2-week wait referral?" |
|||
1.5. Presentation |
|||
Complete? |
|||
2.1. Age of the patient when seen in clinic |
|||
2.2. Body Mass Index of patient |
|||
2.3. Smoking status |
|||
2.4. Previous neck irradiation |
|||
2.5 American Society of Anaesthesiologist (ASA) score |
|||
Complete? |
|||
3.1. Presentation (choice=Neck symptoms) |
|||
3.1. Presentation (choice=Incidental lesion on imaging) |
|||
3.1. Presentation (choice=HypErthyroidism on thyroid function test) |
|||
3.1. Presentation (choice=HypOthyroidism on thyroid function test) |
|||
3.1. Presentation (choice=Symptoms of abnormal thyroid function) |
|||
3.1. Presentation (choice=Not known) |
|||
3.1. Presentation (choice=Other) |
|||
If other please specify" |
|||
3.1.1 Symptomatology (choice=No symptoms) |
|||
"3.1.1 Symptomatology (choice=Neck lump (noted by patient family or doctor))" |
|||
3.1.1 Symptomatology (choice=Compressive symptoms (breathing or swallowing difficulty or voice change)) |
|||
3.1.1 Symptomatology (choice=Symptoms of thyroid dysfunction) |
|||
3.1.1 Symptomatology (choice=Other) |
|||
"If other please specify" |
|||
3.1.2 Was this nodule found incidentally on imaging? |
|||
"If yes what imaging" |
|||
3.2 Clinical Assessment |
|||
3.2.1 Retrosternal on clinical examination |
|||
3.2.2 Palpable lymphadenopathy |
|||
3.2.3 Patient perception of rapid growth of nodule |
|||
3.4 Thyroid function tests done within 3 months of presentation to clinic |
|||
3.5 Ultrasound performed |
|||
3.5.1 Reported maximum diameter of the largest thyroid nodule on ultrasound in millimetres |
|||
3.5.2 Description of thyroid nodule(s) on ultrasound |
|||
"3.5.3 If Ultrasound performed |
|||
U stage reported: " |
|||
"3.5.4 If Ultrasound performed |
|||
TIRADS reported " |
|||
"3.5.5 If Ultrasound performed |
|||
was lymphadenopathy documented" |
|||
3.5.6 Elastography performed |
|||
3.5.7 CT neck performed |
|||
3.5.8 If CT neck performed reason for performing it (choice=Extrathyroid extention/local invasion) |
|||
3.5.8 If CT neck performed reason for performing it (choice=Retrosternal extension/plan surgical approach) |
|||
3.5.8 If CT neck performed reason for performing it (choice=Extent of lymphadenopathy) |
|||
3.5.8 If CT neck performed reason for performing it (choice=Tracheal compression) |
|||
3.5.8 If CT neck performed reason for performing it (choice=Not known) |
|||
3.5.8 If CT neck performed reason for performing it (choice=Unrelated to thyroid pathology) |
|||
3.5.9 MRI neck performed |
|||
3.5.10 If MRI neck performed reason for performing it (choice=Extrathyroid extention/local invasion) |
|||
3.5.10 If MRI neck performed reason for performing it (choice=Retrosternal extension/plan surgical approach) |
|||
3.5.10 If MRI neck performed reason for performing it (choice=Extent of lymphadenopathy) |
|||
3.5.10 If MRI neck performed reason for performing it (choice=Tracheal compression) |
|||
3.5.10 If MRI neck performed reason for performing it (choice=Not known) |
|||
3.5.10 If MRI neck performed reason for performing it (choice=Unrelated to thyroid pathology) |
|||
3.5.11 Iodine-123 scan performed |
|||
3.6. FNA of thyroid nodule performed (either at time of ultrasound or later) |
|||
3.6.1 If FNA performed was Thy or Bethesda stage reported" |
|||
3.6.1.1 Thy result |
|||
3.6.1.2 Bethesda result |
|||
3.7 Core biopsy performed |
|||
3.8 FNA of lymph node performed |
|||
3.8.1 If FNA lymph node performed result |
|||
Complete? |
|||
4.1 Initial management decision |
|||
4.2 Date of decision (either clinic letter or MDT date) |
|||
4.3 Date of surgery or start of other treatment (if interventional) |
|||
4.4. In case of no intervention was a routine review offered |
|||
4.4.1 If yes what was the planned interval (in weeks) |
|||
4.4.2 Was Ultrasound repeated at routine review? |
|||
4.4.3 Was FNA repeated at routine review |
|||
4.4.4 If routine review performed was management strategy changed at review |
|||
4.4.4.1 If management strategy changed at review revised management decision |
|||
"4.4.4.2 If yes reason for change in management" |
|||
If other |
|||
4.4.4.3 If no change in management decision: date last seen by 'thyroid' team |
|||
"4.4.4.4 If no change in management strategy at review |
|||
confirm management plan when last seen" |
|||
4.4.5 Patient was signposted to appropriate patient SUPPORT organisation and/or provided with written PATIENT information about thyroid nodules (including leaflets) |
|||
Complete? |
|||
5.1 Type of thyroid surgery |
|||
5.1.1 Lymph node dissection done at this surgery |
|||
5.1.2 Pathology |
|||
"If other cancer/other diagnosis please state" |
|||
Complete? |
Tabular and graphical summaries of the data provided in Thy3000_DATA_LABELS_Raw.csv after cleaning we can summarise the data. In total there were 541 recorded from a total of 13.
Quantitative Variables
Statistics
Age

Body Mass Index (BMI)

Nodule Maximum Diameter

Categorical Variables
ASA Score

| asa_score | n | % |
|---|---|---|
| I | 186 | 32.292 |
| II | 201 | 34.896 |
| III | 70 | 12.153 |
| IV | 3 | 0.521 |
| NA | 116 | 20.139 |
Data Access Group

| data_access_group | n | % |
|---|---|---|
| Barnsley | 35 | 6.076 |
| Cardiff and Vale | 44 | 7.639 |
| Doncaster | 19 | 3.299 |
| Hull | 31 | 5.382 |
| NHS Tayside | 30 | 5.208 |
| Norfolk & Norwich | 30 | 5.208 |
| Portsmouth | 32 | 5.556 |
| Royal Berkshire | 106 | 18.403 |
| Salford | 40 | 6.944 |
| Sheffield Teaching Hospitals Foundation Trust | 116 | 20.139 |
| University Hospitals of North Midlands | 56 | 9.722 |
| Wye Valley Trust | 33 | 5.729 |
| NA | 4 | 0.694 |
Referral Source

| referral_source | n | % |
|---|---|---|
| GP | 423 | 73.438 |
| secondary care | 149 | 25.868 |
| NA | 4 | 0.694 |
Recruiting Clinic

| clinic_recruiting | n | % |
|---|---|---|
| ENT | 277 | 48.090 |
| GP | 25 | 4.340 |
| General surgery (including endocrine surgery) | 127 | 22.049 |
| Joint thyroid | 75 | 13.021 |
| Medicine | 58 | 10.069 |
| Other | 11 | 1.910 |
| NA | 3 | 0.521 |
Thyroid Nodule FNA

| nodule_fna_thy | n | % |
|---|---|---|
| Thy1 | 66 | 11.458 |
| Thy2 | 113 | 19.618 |
| Thy3 | 94 | 16.319 |
| Thy4 | 14 | 2.431 |
| Thy5 | 14 | 2.431 |
| NA | 275 | 47.743 |
Final Pathology

| final_pathology | n | % |
|---|---|---|
| Benign | 169 | 29.340 |
| Malignant | 75 | 13.021 |
| NA | 332 | 57.639 |
Final Pathology x Thyroid Nodule FNA
It is useful to check that the rules we have derived for classifying Final Pathology, which are based on thyroid_surgery_lymph_node_pathology when available and nodule_fna_thy when not are correct. We can do this by tabulating the data (a heatmap could be plotted that graphically shows the data distribution using the geom_tile() geometry).
| Thyroid Surgery Lymph Node Pathology | Thy1 (%) | Thy2 (%) | Thy3 (%) | Thy4 (%) | Thy5 (%) | Missing (%) |
|---|---|---|---|---|---|---|
| Anaplastic cancer | NA | NA | NA | NA | 1 (100.000) | NA |
| Auto immune thyroiditis | 1 (25.000) | NA | 1 (25.000) | NA | NA | 2 (50.000) |
| Colloid adenoma | 1 (16.667) | 1 (16.667) | 2 (33.333) | 1 (16.667) | NA | 1 (16.667) |
| Colloid goitre | 7 (20.000) | 6 (17.143) | 7 (20.000) | NA | NA | 15 (42.857) |
| Follicular adenoma | 3 (13.043) | 1 ( 4.348) | 18 (78.261) | 1 ( 4.348) | NA | NA |
| Follicular thyroid cancer | 1 ( 7.692) | 1 ( 7.692) | 10 (76.923) | NA | NA | 1 ( 7.692) |
| Graves’ disease | 1 (100.000) | NA | NA | NA | NA | NA |
| Hürthle cell/oncocytic adenoma | 1 (10.000) | 2 (20.000) | 6 (60.000) | 1 (10.000) | NA | NA |
| Hürthle cell/oncocytic carcinoma | 1 (20.000) | NA | 3 (60.000) | NA | 1 (20.000) | NA |
| Medullary thyroid cancer | NA | NA | NA | 1 (50.000) | NA | 1 (50.000) |
| Other cancer / Other diagnosis | 2 ( 6.452) | 11 (35.484) | 9 (29.032) | NA | NA | 9 (29.032) |
| Papillary thyroid cancer | 5 (10.204) | 4 ( 8.163) | 15 (30.612) | 8 (16.327) | 12 (24.490) | 5 (10.204) |
| Simple cyst | 2 (33.333) | NA | NA | NA | NA | 4 (66.667) |
| NA | 41 (10.513) | 87 (22.308) | 23 ( 5.897) | 2 ( 0.513) | NA | 237 (60.769) |
We may be interested in the percentages across all observations though.
| Thyroid Surgery Lymph Node Pathology | Thy1 (%) | Thy2 (%) | Thy3 (%) | Thy4 (%) | Thy5 (%) | Missing (%) |
|---|---|---|---|---|---|---|
| Anaplastic cancer | NA | NA | NA | NA | 1 ( 0.174) | NA |
| Auto immune thyroiditis | 1 ( 0.174) | NA | 1 ( 0.174) | NA | NA | 2 ( 0.347) |
| Colloid adenoma | 1 ( 0.174) | 1 ( 0.174) | 2 ( 0.347) | 1 ( 0.174) | NA | 1 ( 0.174) |
| Colloid goitre | 7 ( 1.215) | 6 ( 1.042) | 7 ( 1.215) | NA | NA | 15 ( 2.604) |
| Follicular adenoma | 3 ( 0.521) | 1 ( 0.174) | 18 ( 3.125) | 1 ( 0.174) | NA | NA |
| Follicular thyroid cancer | 1 ( 0.174) | 1 ( 0.174) | 10 ( 1.736) | NA | NA | 1 ( 0.174) |
| Graves’ disease | 1 ( 0.174) | NA | NA | NA | NA | NA |
| Hürthle cell/oncocytic adenoma | 1 ( 0.174) | 2 ( 0.347) | 6 ( 1.042) | 1 ( 0.174) | NA | NA |
| Hürthle cell/oncocytic carcinoma | 1 ( 0.174) | NA | 3 ( 0.521) | NA | 1 ( 0.174) | NA |
| Medullary thyroid cancer | NA | NA | NA | 1 ( 0.174) | NA | 1 ( 0.174) |
| Other cancer / Other diagnosis | 2 ( 0.347) | 11 ( 1.910) | 9 ( 1.562) | NA | NA | 9 ( 1.562) |
| Papillary thyroid cancer | 5 ( 0.868) | 4 ( 0.694) | 15 ( 2.604) | 8 ( 1.389) | 12 ( 2.083) | 5 ( 0.868) |
| Simple cyst | 2 ( 0.347) | NA | NA | NA | NA | 4 ( 0.694) |
| NA | 41 ( 7.118) | 87 (15.104) | 23 ( 3.993) | 2 ( 0.347) | NA | 237 (41.146) |
Tabulating the Thyroid Nodule FNA against the final prediction
| Nodule FNA | Benign (%) | Malignant (%) | Missing (%) |
|---|---|---|---|
| Thy1 | 15 ( 2.604) | 8 ( 1.389) | 43 ( 7.465) |
| Thy2 | 97 (16.840) | 5 ( 0.868) | 11 ( 1.910) |
| Thy3 | 33 ( 5.729) | 31 ( 5.382) | 30 ( 5.208) |
| Thy4 | 3 ( 0.521) | 9 ( 1.562) | 2 ( 0.347) |
| Thy5 | NA | 14 ( 2.431) | NA |
| NA | 21 ( 3.646) | 8 ( 1.389) | 246 (42.708) |
We can make a stacked Bar chart of this, but first we filter out instances where the final pathology is missing (i.e. NA)
