# define freeze number
freeze_num = 1
# 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 1 dated August 2022#

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 6396 (19.9%) 25748
BCS70 18888 8530 (45.2%) 10358
BIB 29664 28591 (96.4%) 1073
ELSA 18807 9080 (48.3%) 9727
EPICN 30445 15755 (51.7%) 14690
EXCEED 11103 11045 (99.5%) 58
FENLAND 12435 12072 (97.1%) 363
GENSCOT 25152 22393 (89.0%) 2759
MCS 40207 28009 (69.7%) 12198
NCDS58 18563 8956 (48.2%) 9607
NEXTSTEP 15629 6165 (39.4%) 9464
NICOLA 8739 5247 (60.0%) 3492
NIHRBIO_COPING 17193 17177 (99.9%) 16
NSHD46 5362 4289 (80.0%) 1073
SABRE 5251 4719 (89.9%) 532
TRACKC19 20630 9817 (47.6%) 10813
TWINSUK 16786 15124 (90.1%) 1662
UKHLS 42330 8868 (20.9%) 33462
Total 369328 222233 (60.2%) 147095

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 16585
(ii) Excluded because they died >=2020 716
(iii) Excluded because they withdrew from LPS 20411
(iv) Excluded because they dissented from UK LLC 1445
(v) Excluded because they dissented from record linkage 30790
(vi) Excluded because governance not established 18983
(vii) Excluded for other reasons 58165

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.