Emergency Care Data Set (ECDS)#
# define target dataset to document
schema = 'nhsd'
table = 'ECDS'
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 | ECDS |
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/10/2017 onwards |
TRE temporal coverage | 01/10/2017 onwards |
Frequency of update | Quarterly |
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-collections-and-data-sets/data-sets/emergency-care-data-set-ecds |
Specific restrictions to data use | None |
2. Metrics#
The tables below summarise the ECDS dataset in the UK LLC TRE.
Table 1 The number of participants from each LPS that are represented in the ECDS 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 | 2314 |
BCS70 | 2634 |
BIB | 13855 |
ELSA | 3761 |
EPICN | 7801 |
EXCEED | 4195 |
FENLAND | 4930 |
GLAD | 40739 |
MCS | 9480 |
NCDS58 | 2892 |
NEXTSTEP | 2635 |
NIHRBIO_COPING | 7358 |
NSHD46 | 1275 |
TEDS | 3683 |
TRACKC19 | 5312 |
TWINSUK | 6074 |
UKHLS | 3090 |
TOTAL | 122028 |
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.