# define freeze number
freeze_num = 10
# import packages
import pandas as pd, sys
from IPython.display import HTML, display, Markdown
# create instance of freeze class
fp = 'S:/UKLLC - UKLLC Databank/UKLLC Systems/programs/quarterly'
sys.path.insert(0, fp)
import freeze_helper as fh
frehelp = fh.FreezeHelper(freeze_num) 

Freeze number 10 dated November 2024#

Due to the UK LLC pooled sample being dynamic and the denominator changing over time, the UK LLC establishes a ‘data freeze’ of the pooled sample each quarter. Approved users are provisioned data against a set freeze which fixes their denominator at the start of their project and this remains fixed throughout the course of the project.

Table 1: Participants enrolled in LPS and included in the UK LLC resource#

Variation in contribution rates between LPS is mostly due to differences in fair processing. UK LLC continues to work with LPS to establish the governance permissions necessary to maximise the number of enrolled participants in the UK LLC resource.

display(frehelp.style_table(frehelp.get_table('table1')))
LPS N participants enrolled in LPS N (%) participants sent to UK LLC N participants not sent to UK LLC
ALSPAC 32144 6388 (19.9%) 25756
BCS70 18888 8537 (45.2%) 10351
BIB 29664 28590 (96.4%) 1074
ELSA 10742 9080 (84.5%) 1662
EPICN 30445 15755 (51.7%) 14690
EXCEED 11738 11138 (94.9%) 600
FENLAND 12435 12071 (97.1%) 364
GENSCOT 25152 22379 (89.0%) 2773
GLAD 79307 78377 (98.8%) 930
MCS 40207 28009 (69.7%) 12198
NCDS58 18563 8972 (48.3%) 9591
NEXTSTEP 15629 7184 (46.0%) 8445
NICOLA 8739 5247 (60.0%) 3492
NIHRBIO_COPING 17183 17162 (99.9%) 21
NSHD46 5362 4289 (80.0%) 1073
SABRE 5251 4719 (89.9%) 532
TEDS 27890 10905 (39.1%) 16985
TRACKC19 20630 19633 (95.2%) 997
TWINSUK 17124 16486 (96.3%) 638
UKHLS 8938 8775 (98.2%) 163
Total 436031 323696 (74.2%) 112335

Table 1 exclusions: The total number of participants not sent to UK LLC with reason for exclusion#

display(frehelp.style_table(frehelp.get_exclusions()))
Exclusion reason N participants
(i) Excluded because they died <2020 16541
(ii) Excluded because they died >=2020 1097
(iii) Excluded because they withdrew from LPS 20340
(iv) Excluded because they dissented from UK LLC 2675
(v) Excluded because they dissented from record linkage 29388
(vi) Excluded because governance not established 31112
(vii) Excluded for other reasons 11182

Footnotes with further details about exclusion criteria

(i) & (ii) UK LLC does not prohibit LPS from sending data for participants who have died. However, some LPS have policies which preclude these participants from inclusion in the resource. Data for participants who died on or after January 1, 2020 are particularly important for COVID-19 research, and so LPS were requested to send these data where possible.

(v) Participants who have dissented from linkage can still be included in the UK LLC resource, with permission flags set accordingly. However, some LPS policies preclude participants from inclusion.

Where a participant was excluded for more than one reason, LPS were asked to count participants once using the exclusion hierarchy (i-vii).

Information presented in Table1 was provided by the LPS at the latest quarterly File1 update corresponding with the freeze name printed at the top of this notebook.