Code
gtsummary::theme_gtsummary_compact()Setting theme "Compact"
Code
df_ntd %>%
gtsummary::tbl_summary(
sort = gtsummary::all_categorical(FALSE) ~ "alphanumeric",) %>%
gtsummary::bold_labels()| Characteristic | N = 1421 |
|---|---|
| Age at Admission (days) | 2 (0, 7) |
| Birth Weight (kgs) | 2.80 (2.40, 3.20) |
| Gestational Age (weeks) | 38.00 (37.00, 39.00) |
| Sex | |
| Female | 61 (43%) |
| Male | 81 (57%) |
| Type of Gestation | |
| M | 5 (3.5%) |
| S | 133 (94%) |
| Twins | 4 (2.8%) |
| Mode of Delivery | |
| AVD | 1 (0.7%) |
| C/S | 65 (46%) |
| SVD | 76 (54%) |
| Place of Delivery | |
| CHPS | 1 (0.7%) |
| Clinic | 9 (6.3%) |
| DH | 3 (2.1%) |
| GH | 34 (24%) |
| H/C | 8 (5.6%) |
| HC | 6 (4.2%) |
| home | 9 (6.3%) |
| KATH | 27 (19%) |
| mat home | 3 (2.1%) |
| Mission | 26 (18%) |
| Pivate | 1 (0.7%) |
| private | 1 (0.7%) |
| Private | 14 (9.9%) |
| Consanguinity | 2 (1.4%) |
| Maternal age (Years) | 29 (24, 33) |
| Maternal Occupation | |
| ACCOUNTANT | 1 (0.7%) |
| CATERER | 1 (0.7%) |
| CLEANER | 1 (0.7%) |
| DECORATOR | 1 (0.7%) |
| FARMER | 34 (24%) |
| HAIRDRESSER | 8 (5.6%) |
| MINER | 1 (0.7%) |
| MOULDER | 1 (0.7%) |
| NONE | 2 (1.4%) |
| NURSE | 7 (4.9%) |
| OPTICIAN | 1 (0.7%) |
| PHARMACIST | 2 (1.4%) |
| PUBLISHER | 1 (0.7%) |
| SEAMSTRESS | 12 (8.5%) |
| STUDENT | 3 (2.1%) |
| TEACHER | 6 (4.2%) |
| TRADER | 46 (32%) |
| UNEMPL | 13 (9.2%) |
| UNEMPLOYED | 1 (0.7%) |
| Educational Status | |
| none | 27 (19%) |
| primary | 63 (44%) |
| secondary | 30 (21%) |
| tertiary | 22 (15%) |
| Booking Age (weeks) | 14 (10, 20) |
| ANC Attendance | |
| 2x | 3 (2.1%) |
| non Attend | 19 (13%) |
| reg | 120 (85%) |
| Febile illness | 18 (13%) |
| Rash | 5 (3.5%) |
| Age Folic Acid Started | 14 (10, 20) |
| Unprescribed medications | 9 (6.3%) |
| Prescribed medications | |
| 0 | 133 (94%) |
| 1 | 7 (4.9%) |
| 1(anticonvulsants) | 1 (0.7%) |
| 1(ARVs) | 1 (0.7%) |
| Herbal use | 60 (42%) |
| Maternal disease | |
| 0 | 131 (92%) |
| 1 | 2 (1.4%) |
| DM | 1 (0.7%) |
| epilepsy | 1 (0.7%) |
| hepB | 2 (1.4%) |
| HIV | 4 (2.8%) |
| Syphillis | 1 (0.7%) |
| Smoking | 0 (0%) |
| Alcohol use | 2 (1.4%) |
| Illicit drug use | 1 (0.7%) |
| Diagnosed during ANC | 40 (28%) |
| Previous anomaly | 3 (2.3%) |
| Unknown | 13 |
| Neural tube defect | |
| Anencephaly | 2 (1.4%) |
| Encephlocele | 1 (0.7%) |
| Encephlocele (Frontal) | 5 (3.5%) |
| Encephlocele (Nasal) | 2 (1.4%) |
| Encephlocele (Occipital) | 15 (11%) |
| Meningocele | 1 (0.7%) |
| Myelomeningocele (+ Talipes) | 1 (0.7%) |
| Myelomeningocele (Cervical) | 2 (1.4%) |
| Myelomeningocele (Lumbar) | 56 (39%) |
| Myelomeningocele (Sacral) | 46 (32%) |
| Myelomeningocele (Thoracic) | 10 (7.0%) |
| Myelomeningocele + Encephalocele | 1 (0.7%) |
| Parity | |
| 1 | 40 (29%) |
| 1+2sa | 2 (1.4%) |
| 10 | 1 (0.7%) |
| 2 | 31 (22%) |
| 3 | 23 (17%) |
| 3+1sa | 2 (1.4%) |
| 3+1sd | 1 (0.7%) |
| 4 | 17 (12%) |
| 4+3sa | 1 (0.7%) |
| 5 | 12 (8.7%) |
| 5+1D | 1 (0.7%) |
| 6 | 3 (2.2%) |
| 7 | 3 (2.2%) |
| 8 | 1 (0.7%) |
| Unknown | 4 |
| associated_location | |
| FARMER | 2 (3.2%) |
| FARMING | 32 (52%) |
| FARMING + MINING | 1 (1.6%) |
| FARMING AREA | 1 (1.6%) |
| MINING | 24 (39%) |
| SEAMSTRESS | 1 (1.6%) |
| TRADER | 1 (1.6%) |
| Unknown | 80 |
| associated_anomaly | |
| HC | 54 (47%) |
| HC,TALIPES | 1 (0.9%) |
| HC/AQUEDACTAL STENOSIS | 1 (0.9%) |
| HC/RECTAL PROLAPSE | 1 (0.9%) |
| HC/TALIPES,RECTAL PROLAPSE | 1 (0.9%) |
| HC+TALIPES | 38 (33%) |
| HC+TALIPES+RECTAL PROLPASE | 1 (0.9%) |
| OMPHALOCELE | 1 (0.9%) |
| T13/HC+TALIPES | 1 (0.9%) |
| TALIPES | 14 (12%) |
| TALIPES+HC | 1 (0.9%) |
| TRISOMY 13/HC | 1 (0.9%) |
| VSD/ASD | 1 (0.9%) |
| Unknown | 26 |
| complication | |
| /meningitis | 1 (1.3%) |
| meningitis | 11 (14%) |
| Meningitis | 1 (1.3%) |
| meningitis/PDA,VSD, | 1 (1.3%) |
| meningitis/SSI | 1 (1.3%) |
| Meningitis/SSI | 2 (2.6%) |
| meningitis/wound dehiscence | 1 (1.3%) |
| sepsis | 7 (9.1%) |
| Sepsis | 2 (2.6%) |
| sepsis/PDA | 1 (1.3%) |
| SSI | 13 (17%) |
| SSI/meningitis | 5 (6.5%) |
| SSI/meningitis/stridor/ | 1 (1.3%) |
| SSI/meningitis/wound dehiscence | 2 (2.6%) |
| SSI/sepsis | 3 (3.9%) |
| SSI/Sepsis | 4 (5.2%) |
| SSI/wound dehiscence | 4 (5.2%) |
| stridor | 1 (1.3%) |
| stridor/wound dehiscence/ventriculitis/SSI | 1 (1.3%) |
| ventriculitis | 3 (3.9%) |
| ventriculitis/stridor | 1 (1.3%) |
| Wdehiscence/CSF leakage | 5 (6.5%) |
| Wdehiscence/CSF leakage/ventriculitis | 1 (1.3%) |
| wound dehis/sepsis | 1 (1.3%) |
| wound dehis/sepsis/SSI | 1 (1.3%) |
| wound dehis/SSI | 1 (1.3%) |
| wound dehiscence | 1 (1.3%) |
| wound dehiscence/meningitis | 1 (1.3%) |
| Unknown | 65 |
| Outcome | |
| ALIVE | 102 (72%) |
| DAMA | 18 (13%) |
| DEAD | 22 (15%) |
| shunting | |
| 22/06/2022 | 1 (0.7%) |
| 44779 | 1 (0.7%) |
| 44904 | 1 (0.7%) |
| 44968 | 1 (0.7%) |
| 45181 | 1 (0.7%) |
| 45525 | 1 (0.7%) |
| 45639 | 1 (0.7%) |
| 45840 | 1 (0.7%) |
| not done | 95 (67%) |
| not required | 37 (26%) |
| paraparesis | 2 (1.4%) |
| Time to surgery (days) | 36 (25, 53) |
| Unknown | 44 |
| Length of Stay (Days) | 55 (39, 76) |
| Type of Gestation | |
| Singleton | 133 (94%) |
| Multiple | 9 (6.3%) |
| Mode of Delivery | |
| Vaginal | 77 (54%) |
| Cesarean Section | 65 (46%) |
| Prescribed medications | 9 (6.3%) |
| Maternal disease | 11 (7.7%) |
| Encephalocele | 23 (16%) |
| Anencephaly | 2 (1.4%) |
| Meningocele | 1 (0.7%) |
| Myelomeningocele | 116 (82%) |
| Parity | |
| 1 | 42 (30%) |
| 2 | 31 (22%) |
| 3 | 26 (19%) |
| 4 | 18 (13%) |
| 5 | 13 (9.4%) |
| 6 | 3 (2.2%) |
| 7 | 3 (2.2%) |
| 8 | 1 (0.7%) |
| 10 | 1 (0.7%) |
| Unknown | 4 |
| Hydrocephalus | 100 (70%) |
| Talipes | 57 (40%) |
| Rectal Prolapse | 3 (2.1%) |
| Edward Syndrome | 2 (1.4%) |
| Omphalocele | 1 (0.7%) |
| Congenital Heart Disease | 1 (0.7%) |
| Aqueductal stenosis | 1 (0.7%) |
| Died | 22 (15%) |
| Maternal occupation | |
| Informal | 105 (74%) |
| Formal | 18 (13%) |
| Unemployed | 19 (13%) |
| Regular ANC attendant | 120 (85%) |
| Complication present | 77 (54%) |
| Farming | 36 (25%) |
| Mining | 25 (18%) |
| 1 Median (Q1, Q3); n (%) | |
Comments
We first load the requisite libraries
Code
Next first read and label the data.
Code