HES Accident & Emergency (HESAE) Dataset#
# define target dataset to document
schema = 'nhsd'
table = 'HESAE'
version = 'v0003'
# import functions from script helper
import sys
script_fp = "../../../../scripts/"
sys.path.insert(0, script_fp)
from data_doc_helper import DocHelper
# create instance
document = DocHelper(schema, table, version, script_fp)
# markdown/code hybrid cell module requirement
from IPython.display import display, Markdown
1. Summary#
display(document.style_table(document.get_dataset_info()))
Dataset descriptor | Dataset-specific information |
---|---|
Name of dataset in TRE | HESAE |
Other name | None |
Keywords | A&E patients, NHS hospitals |
Short description | Dataset of patients attending Accident and Emergency Departments (including minor injury units and walk-in centres) in England. A record represents one attendance. |
Owner | NHS England |
Geographical coverage | England |
Temporal coverage | 01/04/2007 to 31/03/2020 |
TRE temporal coverage | 01/04/2007 to 31/03/2020 |
Frequency of update | Annually |
Date of last extract | None |
DOI | None |
Data resolution | A&E attendance |
Number of variables | None |
Number of participants | None |
Number of observations | None |
Version | None |
Key link | https://digital.nhs.uk/data-and-information/data-tools-and-services/data-services/hospital-episode-statistics |
Specific restrictions to data use | None |
2. Metrics#
The tables below summarise the HESAE dataset in the UK LLC TRE.
Table 1 The number of participants from each LPS that are represented in the HESAE dataset in the UK LLC TRE
(Note: numbers relate to the most recent extract of NHS England data)
display(document.style_table(document.get_cohort_count()))
LPS | Participant count |
---|---|
ALSPAC | 4970 |
BCS70 | 4438 |
BIB | 23568 |
ELSA | 5665 |
EPICN | 11054 |
EXCEED | 7086 |
FENLAND | 7608 |
GLAD | 57439 |
MCS | 14908 |
NCDS58 | 4914 |
NEXTSTEP | 4539 |
NIHRBIO_COPING | 12494 |
NSHD46 | 2168 |
TEDS | 6373 |
TRACKC19 | 9325 |
TWINSUK | 10286 |
UKHLS | 5159 |
TOTAL | 191994 |
3. Helpful syntax#
Below we will include syntax that may be helpful to other researchers in the UK LLC TRE. For longer scripts, we will include a snippet of the code plus a link to Git where you can find the full script.