Datasets:
chunk_id large_stringlengths 36 36 | doc_type large_stringclasses 1
value | category large_stringclasses 5
values | document large_stringclasses 96
values | version_raw large_stringdate 2002-11-27 00:00:00 2026-05-12 00:00:00 | chunk_index int64 0 288 | text large_stringlengths 25 16.6k | file_path large_stringclasses 355
values |
|---|---|---|---|---|---|---|---|
305248a8-af0c-5a1f-b9a7-30dfe8f7f9b6 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 0 | # Data Protection Act 2018 - Part 2
Source: https://www.legislation.gov.uk/ukpga/2018/12/part/2/2018-05-25
Version: 2018-05-25
---
## **PART 2** U.K.General processing
### CHAPTER 1U.K.Scope and definitions
#### 4Processing to which this Part appliesU.K.
(1)This Part is relevant to most processing of personal dat... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
7c098367-0de2-5b51-9e46-3fe871944b44 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 1 | I1[S. 4](/id/ukpga/2018/12/section/4 "Go to S. 4") in force at 25.5.2018 by [S.I. 2018/625](/id/uksi/2018/625 "The Data Protection Act 2018 (Commencement No. 1 and Transitional and Saving Provisions) Regulations 2018"), [**reg. 2(1)(b)**](/id/uksi/2018/625/regulation/2/1/b "Go to The Data Protection Act 2018 (Commencem... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
1080f205-392c-5264-afd5-1b6a645751fa | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 2 | (5)In subsection (4), the reference to a term's meaning in the applied GDPR is to its meaning in the GDPR read with any provision of Chapter 2 (as applied by Chapter 3 ) or Chapter 3 which modifies the term's meaning for the purposes of the applied GDPR.
(6)Subsection (4) is subject to any provision in Chapter 2 (as a... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
44667bf3-27a2-5811-b719-59d532c1729e | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 3 | I2[S. 5](/id/ukpga/2018/12/section/5 "Go to S. 5") in force at 25.5.2018 by [S.I. 2018/625](/id/uksi/2018/625 "The Data Protection Act 2018 (Commencement No. 1 and Transitional and Saving Provisions) Regulations 2018"), [**reg. 2(1)(b)**](/id/uksi/2018/625/regulation/2/1/b "Go to The Data Protection Act 2018 (Commencem... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
cab7baae-d65c-5041-982e-04c26bfe48ae | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 4 | the person on whom the obligation to process the data is imposed by the enactment (or, if different, one of the enactments) is the controller.
Commencement Information
I3[S. 6](/id/ukpga/2018/12/section/6 "Go to S. 6") in force at 25.5.2018 by [S.I. 2018/625](/id/uksi/2018/625 "The Data Protection Act 2018 (Commencem... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
fe52f5c2-d538-53bf-854e-0d820c65ebcf | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 5 | (c)an authority or body specified or described by the Secretary of State in regulations,
subject to subsections (2), (3) and (4).
(2)An authority or body that falls within subsection (1) is only a “public authority” or “public body” for the purposes of the GDPR when performing a task carried out in the public interes... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
7800b3b5-a115-5abf-a595-ed62cba56df2 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 6 | (ii)under Part 1 of the Local Government and Public Involvement in Health Act 2007, or
(iii)by the Charter Trustees Regulations 1996 (S.I. 1996/263).
(4)The Secretary of State may by regulations provide that a person specified or described in the regulations that is a public authority described in subsection (1)(a) o... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
53c9badb-eb70-539f-b104-b6d9b43615b7 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 7 | I5[S. 7](/id/ukpga/2018/12/section/7 "Go to S. 7") in force at 25.5.2018 in so far as not already in force by [S.I. 2018/625](/id/uksi/2018/625 "The Data Protection Act 2018 (Commencement No. 1 and Transitional and Saving Provisions) Regulations 2018"), [**reg. 2(1)(b)**](/id/uksi/2018/625/regulation/2/1/b "Go to The D... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
fa7a7b6f-2276-5225-9d02-a029c728b5fe | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 8 | (c)the exercise of a function conferred on a person by an enactment or rule of law,
(d)the exercise of a function of the Crown, a Minister of the Crown or a government department, or
(e)an activity that supports or promotes democratic engagement.
Modifications etc. (not altering text)
| raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
88b84875-4833-5150-bef3-2abf9990f139 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 9 | C1[S. 8(d)](/id/ukpga/2018/12/section/8/d "Go to S. 8(d)") modified by S.I. 1999/3145, art. 9(1)(2) (as substituted (25.5.2018) by [Data Protection Act 2018 (c. 12)](/id/ukpga/2018/12 "Data Protection Act 2018"), [s. 212(1)](/id/ukpga/2018/12/section/212/1 "Go to Data Protection Act 2018 s. 212(1)"), [**Sch. 19 para. 2... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
40c0f2f1-befe-57a5-b6bd-ff2ba815c60a | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 10 | C2[S. 8(d)](/id/ukpga/2018/12/section/8/d "Go to S. 8(d)") modified by S.I. 2007/1118, art. 5(1)(2) (as substituted (25.5.2018) by [Data Protection Act 2018 (c. 12)](/id/ukpga/2018/12 "Data Protection Act 2018"), [s. 212(1)](/id/ukpga/2018/12/section/212/1 "Go to Data Protection Act 2018 s. 212(1)"), [**Sch. 19 para. 3... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
5e37af15-e9bb-532e-bf57-f0b48acee5ea | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 11 | C3[S. 8(d)](/id/ukpga/2018/12/section/8/d "Go to S. 8(d)") modified by S.I. 1999/677, art. 7(1)(2) (as substituted (25.5.2018) by [Data Protection Act 2018 (c. 12)](/id/ukpga/2018/12 "Data Protection Act 2018"), [s. 212(1)](/id/ukpga/2018/12/section/212/1 "Go to Data Protection Act 2018 s. 212(1)"), [**Sch. 19 para. 23... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
603c488d-6f44-55b5-9d3b-f50512dbabd2 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 12 | I6[S. 8](/id/ukpga/2018/12/section/8 "Go to S. 8") in force at 25.5.2018 by [S.I. 2018/625](/id/uksi/2018/625 "The Data Protection Act 2018 (Commencement No. 1 and Transitional and Saving Provisions) Regulations 2018"), [**reg. 2(1)(b)**](/id/uksi/2018/625/regulation/2/1/b "Go to The Data Protection Act 2018 (Commencem... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
54dd7de5-503b-55dd-9cd2-faeaf6dbebdd | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 13 | I7[S. 9](/id/ukpga/2018/12/section/9 "Go to S. 9") in force at 25.5.2018 by [S.I. 2018/625](/id/uksi/2018/625 "The Data Protection Act 2018 (Commencement No. 1 and Transitional and Saving Provisions) Regulations 2018"), [**reg. 2(1)(b)**](/id/uksi/2018/625/regulation/2/1/b "Go to The Data Protection Act 2018 (Commencem... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
40367cb0-e690-541d-9357-12ae20e3889d | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 14 | (e)point (j) (archiving, research and statistics).
(2)The processing meets the requirement in point (b), (h), (i) or (j) of Article 9(2) of the GDPR for authorisation by, or a basis in, the law of the United Kingdom or a part of the United Kingdom only if it meets a condition in Part 1 of Schedule 1.
(3)The processin... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
9ef0a0f4-984b-54b8-9ec6-5f2c7e3f026a | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 15 | (i)by adding or varying conditions or safeguards, and
(ii)by omitting conditions or safeguards added by regulations under this section, and
(b)consequentially amend this section.
(7)Regulations under this section are subject to the affirmative resolution procedure.
Commencement Information
I8S. 10 in force at Roya... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
998e2c34-3df8-570c-95a4-8316f512f4c2 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 16 | ##### 11Special categories of personal data etc: supplementaryU.K.
(1)For the purposes of Article 9(2)(h) of the GDPR (processing for health or social care purposes etc), the circumstances in which the processing of personal data is carried out subject to the conditions and safeguards referred to in Article 9(3) of th... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
e6ac05dc-a834-535b-a439-4412229116f3 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 17 | Commencement Information
I10[S. 11](/id/ukpga/2018/12/section/11 "Go to S. 11") in force at 25.5.2018 by [S.I. 2018/625](/id/uksi/2018/625 "The Data Protection Act 2018 (Commencement No. 1 and Transitional and Saving Provisions) Regulations 2018"), [**reg. 2(1)(b)**](/id/uksi/2018/625/regulation/2/1/b "Go to The Data ... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
808760eb-b5c0-55d0-9935-6951277db4a3 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 18 | (a)require controllers of a description specified in the regulations to produce and publish guidance about the fees that they charge in reliance on those provisions, and
(b)specify what the guidance must include.
(3)Regulations under this section are subject to the negative resolution procedure.
Commencement Informa... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
b717ef09-2360-5a62-9e11-e24f228eadb6 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 19 | ##### 13Obligations of credit reference agenciesU.K.
(1)This section applies where a controller is a credit reference agency (within the meaning of section 145(8) of the Consumer Credit Act 1974).
(2)The controller's obligations under Article 15(1) to (3) of the GDPR (confirmation of processing, access to data and sa... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
4eabb150-b977-5193-a10f-8f2963891b10 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 20 | C4[S. 13](/id/ukpga/2018/12/section/13 "Go to S. 13") applied by S.I. 2015/1945, reg. 15(1) (as substituted (25.5.2018) by [Data Protection Act 2018 (c. 12)](/id/ukpga/2018/12 "Data Protection Act 2018"), [s. 212(1)](/id/ukpga/2018/12/section/212/1 "Go to Data Protection Act 2018 s. 212(1)"), [**Sch. 19 para. 387(2)**]... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
771a8954-7205-5cec-b4ef-6c019ac8f09f | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 21 | I13[S. 13](/id/ukpga/2018/12/section/13 "Go to S. 13") in force at 25.5.2018 by [S.I. 2018/625](/id/uksi/2018/625 "The Data Protection Act 2018 (Commencement No. 1 and Transitional and Saving Provisions) Regulations 2018"), [**reg. 2(1)(b)**](/id/uksi/2018/625/regulation/2/1/b "Go to The Data Protection Act 2018 (Comme... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
f2b45774-595a-5492-819c-d1e69fe09817 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 22 | (3)A decision is a “qualifying significant decision” for the purposes of this section if—
(a)it is a significant decision in relation to a data subject,
(b)it is required or authorised by law, and
(c)it does not fall within Article 22(2)(a) or (c) of the GDPR (decisions necessary to a contract or made with the data ... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
b81706ec-c3fd-5494-a5b4-cc8fd97d470c | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 23 |
(a)consider the request, including any information provided by the data subject that is relevant to it,
(b)comply with the request, and
(c)by notice in writing inform the data subject of—
(i)the steps taken to comply with the request, and
(ii)the outcome of complying with the request.
(6)In connection with this s... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
e5483cc3-608b-5ef4-bfab-b8164492399f | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 24 | (b)are subject to the affirmative resolution procedure.
Commencement Information
I14S. 14 in force at Royal Assent for specified purposes, see [s. 212(2)(f)](/id/ukpga/2018/12/section/212/2/f "Go to s. 212(2)(f)")
I15[S. 14](/id/ukpga/2018/12/section/14 "Go to S. 14") in force at 25.5.2018 in so far as not already i... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
4fecf58e-81eb-5722-b43a-a8fb6de03ee6 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 25 | (a)Part 1 makes provision adapting or restricting the application of rules contained in Articles 13 to 21 and 34 of the GDPR in specified circumstances, as allowed for by Article 6(3) and Article 23(1) of the GDPR;
(b)Part 2 makes provision restricting the application of rules contained in Articles 13 to 21 and 34 of ... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
82d0f34d-9348-556d-86e4-a5233932b07f | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 26 | (f)Part 6 makes provision containing derogations from rights contained in Articles 15, 16, 18, 19, 20 and 21 of the GDPR for scientific or historical research purposes, statistical purposes and archiving purposes, as allowed for by Article 89(2) and (3) of the GDPR.
(3)Schedule 3 makes provision restricting the applic... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
4f867178-285a-54ed-9e70-decd9577921d | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 27 | I16[S. 15](/id/ukpga/2018/12/section/15 "Go to S. 15") in force at 25.5.2018 by [S.I. 2018/625](/id/uksi/2018/625 "The Data Protection Act 2018 (Commencement No. 1 and Transitional and Saving Provisions) Regulations 2018"), [**reg. 2(1)(b)**](/id/uksi/2018/625/regulation/2/1/b "Go to The Data Protection Act 2018 (Comme... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
2109c439-ca27-53ca-8ba5-8be35312bdfb | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 28 | (b)the power in Article 23(1) to make a legislative measure restricting the scope of the obligations and rights mentioned in that Article where necessary and proportionate to safeguard certain objectives of general public interest;
(c)the power in Article 85(2) to provide for exemptions or derogations from certain Cha... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
93861543-524e-5c95-bae2-e4e21bdedb1f | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 29 | I18[S. 16](/id/ukpga/2018/12/section/16 "Go to S. 16") in force at 25.5.2018 in so far as not already in force by [S.I. 2018/625](/id/uksi/2018/625 "The Data Protection Act 2018 (Commencement No. 1 and Transitional and Saving Provisions) Regulations 2018"), [**reg. 2(1)(b)**](/id/uksi/2018/625/regulation/2/1/b "Go to T... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
7fa67618-e217-56a5-a3cd-d3b4669b263b | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 30 | (3)The national accreditation body may only accredit a person as a certification provider where the Commissioner—
(a)has published a statement that the body may carry out such accreditation, and
(b)has not published a notice withdrawing that statement.
(4)The publication of a notice under subsection (2)(b) or (3)(b)... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
bc2c449d-5a72-5da1-8a6b-8b4c1222e29b | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 31 | - “certification provider” means a person who issues certification for the purposes of Article 42 of the GDPR;
- “the national accreditation body” means the national accreditation body for the purposes of Article 4(1) of Regulation [(EC) No 765/2008](/european/regulation/2008/0765 "Go to item of legislation") of the Eu... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
63d502cf-ba15-5796-9db3-79887a8ae975 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 32 | #### Transfers of personal data to third countries etcU.K.
##### 18Transfers of personal data to third countries etcU.K.
(1)The Secretary of State may by regulations specify, for the purposes of Article 49(1)(d) of the GDPR—
(a)circumstances in which a transfer of personal data to a third country or international or... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
d46b5e64-7952-5a62-a41e-3f04f8493ff5 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 33 |
(a)are subject to the made affirmative resolution procedure where the Secretary of State has made an urgency statement in respect of them;
(b)are otherwise subject to the affirmative resolution procedure.
(4)For the purposes of this section, an urgency statement is a reasoned statement that the Secretary of State co... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
373ace30-96ff-5410-9a32-7a5ab2614741 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 34 | #### Specific processing situationsU.K.
##### 19Processing for archiving, research and statistical purposes: safeguardsU.K.
(1)This section makes provision about—
(a)processing of personal data that is necessary for archiving purposes in the public interest,
(b)processing of personal data that is necessary for scie... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
b000593d-9675-5686-9271-4d71f3657f6c | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 35 | - “approved medical research” means medical research carried out by a person who has approval to carry out that research from—
(a)
a research ethics committee recognised or established by the Health Research Authority under Chapter 2 of Part 3 of the Care Act 2014, or
(b)
a body appointed by any of the foll... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
2f05bdfa-eea5-5c6d-870d-bdf1ed146a80 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 36 | a Health Board or Special Health Board constituted under section 2 of the National Health Service (Scotland) Act 1978,
(d)
the Common Services Agency for the Scottish Health Service, or
(e)
any of the health and social care bodies in Northern Ireland falling within paragraphs (a) to (e) of section 1(5) of... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
8c46a5b7-08cb-5488-86a0-63ddd49ab098 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 37 | I23[S. 19](/id/ukpga/2018/12/section/19 "Go to S. 19") in force at 25.5.2018 in so far as not already in force by [S.I. 2018/625](/id/uksi/2018/625 "The Data Protection Act 2018 (Commencement No. 1 and Transitional and Saving Provisions) Regulations 2018"), [**reg. 2(1)(b)**](/id/uksi/2018/625/regulation/2/1/b "Go to T... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
56f7bcc8-533e-55b2-8ded-b5b83e121137 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 38 | I24[S. 20](/id/ukpga/2018/12/section/20 "Go to S. 20") in force at 25.5.2018 by [S.I. 2018/625](/id/uksi/2018/625 "The Data Protection Act 2018 (Commencement No. 1 and Transitional and Saving Provisions) Regulations 2018"), [**reg. 2(1)(b)**](/id/uksi/2018/625/regulation/2/1/b "Go to The Data Protection Act 2018 (Comme... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
37377649-f49f-5957-9563-c78eb16e68fe | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 39 |
(2)This Chapter also applies to the manual unstructured processing of personal data held by an FOI public authority.
(3)This Chapter does not apply to the processing of personal data by an individual in the course of a purely personal or household activity.
(4)In this section—
- “the automated or structured process... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
c24d107a-a9a5-5e46-9d67-f425bb041eee | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 40 | (6)References in this Chapter to personal data “held” by an FOI public authority are to be interpreted—
(a)in relation to England and Wales and Northern Ireland, in accordance with section 3(2) of the Freedom of Information Act 2000, and
(b)in relation to Scotland, in accordance with section 3(2), (4) and (5) of the ... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
09de2e2c-0126-5221-aeea-37b357a65719 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 41 | I25[S. 21](/id/ukpga/2018/12/section/21 "Go to S. 21") in force at 25.5.2018 by [S.I. 2018/625](/id/uksi/2018/625 "The Data Protection Act 2018 (Commencement No. 1 and Transitional and Saving Provisions) Regulations 2018"), [**reg. 2(1)(b)**](/id/uksi/2018/625/regulation/2/1/b "Go to The Data Protection Act 2018 (Comme... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
0855bd58-4708-5a32-8612-e737266cae23 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 42 | (a)the GDPR as it applies by virtue of subsection (1) (see Part 1);
(b)Chapter 2 of this Part as it applies by virtue of subsection (2) (see Part 2).
(5)A question as to the meaning or effect of a provision of the applied GDPR, or the applied Chapter 2 , is to be determined consistently with the interpretation of the... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
02cc5526-0575-5322-a218-c6cded55a0d1 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 43 | ##### 23Power to make provision in consequence of regulations related to the GDPRU.K.
(1)The Secretary of State may by regulations make provision in connection with the processing of personal data to which this Chapter applies which is equivalent to that made by GDPR regulations, subject to such modifications as the S... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
5d1b711f-2e1e-5d74-8a5b-e81d4bb7af02 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 44 | I27[S. 23](/id/ukpga/2018/12/section/23 "Go to S. 23") in force at Royal Assent for specified purposes, see [s. 212(2)(f)](/id/ukpga/2018/12/section/212/2/f "Go to s. 212(2)(f)")
I28[S. 23](/id/ukpga/2018/12/section/23 "Go to S. 23") in force at 25.5.2018 in so far as not already in force by [S.I. 2018/625](/id/uksi/2... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
db5611fb-9234-56a5-8792-3950e09b3f00 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 45 | (i)Article 5(1)(a) to (c), (e) and (f) (principles relating to processing, other than the accuracy principle),
(ii)Article 6 (lawfulness),
(iii)Article 7 (conditions for consent),
(iv)Article 8(1) and (2) (child's consent),
(v)Article 9 (processing of special categories of personal data),
(vi)Article 10 (data rela... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
ceb1cafd-4f81-59b8-a47e-18bb621dc230 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 46 | (3)In addition, the provisions of the applied GDPR listed in subsection (4) do not apply to personal data to which this Chapter applies by virtue of section 21(2) where the personal data relates to appointments, removals, pay, discipline, superannuation or other personnel matters in relation to—
(a)service in any of t... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
f69cf9a3-46c3-599e-a318-b19a5edc3492 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 47 | (b)Chapter IV (controller and processor);
(c)Chapter IX (specific processing situations).
(5)A controller is not obliged to comply with Article 15(1) to (3) of the applied GDPR (right of access by the data subject) in relation to personal data to which this Chapter applies by virtue of section 21(2) if—
(a)the reque... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
ff985620-d051-5f82-a48e-9010f803d014 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 48 | (8)In subsections (5) and (6), “the appropriate maximum” means the maximum amount specified by the Secretary of State by regulations.
(9)Regulations under subsection (8) are subject to the negative resolution procedure.
Modifications etc. (not altering text)
| raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
cdcffe3c-830f-50c6-97d3-2541a4c273cb | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 49 | C5[S. 24(3)](/id/ukpga/2018/12/section/24/3 "Go to S. 24(3)") extended by S.I. 1999/677, art. 7(3)(4) (as substituted (25.5.2018) by [Data Protection Act 2018 (c. 12)](/id/ukpga/2018/12 "Data Protection Act 2018"), [s. 212(1)](/id/ukpga/2018/12/section/212/1 "Go to Data Protection Act 2018 s. 212(1)"), [**Sch. 19 para.... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
79884fa2-b1b3-58b3-9d8a-242225dd6699 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 50 | C6[S. 24(3)](/id/ukpga/2018/12/section/24/3 "Go to S. 24(3)") extended by S.I. 2007/1118, art. 5(3)(4) (as substituted (25.5.2018) by [Data Protection Act 2018 (c. 12)](/id/ukpga/2018/12 "Data Protection Act 2018"), [s. 212(1)](/id/ukpga/2018/12/section/212/1 "Go to Data Protection Act 2018 s. 212(1)"), [**Sch. 19 para... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
13cd1263-bb0a-561d-832d-fe5200491df5 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 51 | C7[S. 24(3)](/id/ukpga/2018/12/section/24/3 "Go to S. 24(3)") extended by S.I. 1999/3145, art. 9(3)(4) (as substituted (25.5.2018) by [Data Protection Act 2018 (c. 12)](/id/ukpga/2018/12 "Data Protection Act 2018"), [s. 212(1)](/id/ukpga/2018/12/section/212/1 "Go to Data Protection Act 2018 s. 212(1)"), [**Sch. 19 para... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
293f7e36-aa63-5711-842a-1582ddd99a78 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 52 | I29S. 24 in force at Royal Assent for specified purposes, see [s. 212(2)(f)](/id/ukpga/2018/12/section/212/2/f "Go to s. 212(2)(f)")
I30[S. 24](/id/ukpga/2018/12/section/24 "Go to S. 24") in force at 25.5.2018 in so far as not already in force by [S.I. 2018/625](/id/uksi/2018/625 "The Data Protection Act 2018 (Commenc... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
d31c458b-be8a-5d67-801a-a066f5c50cbe | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 53 | (ii)is processed only for the purposes of historical research, and
(b)the processing is not carried out—
(i)for the purposes of measures or decisions with respect to a particular data subject, or
(ii)in a way that causes, or is likely to cause, substantial damage or substantial distress to a data subject.
(2)Those ... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
239a5f68-fd4b-50a9-8dd1-32b6ac499da8 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 54 | I31[S. 25](/id/ukpga/2018/12/section/25 "Go to S. 25") in force at 25.5.2018 by [S.I. 2018/625](/id/uksi/2018/625 "The Data Protection Act 2018 (Commencement No. 1 and Transitional and Saving Provisions) Regulations 2018"), [**reg. 2(1)(b)**](/id/uksi/2018/625/regulation/2/1/b "Go to The Data Protection Act 2018 (Comme... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
a0862eb8-5fc8-50d6-be83-faa9f364948c | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 55 | (iii)Article 9 (processing of special categories of personal data);
(b)Chapter III of the applied GDPR (rights of data subjects);
(c)in Chapter IV of the applied GDPR—
(i)Article 33 (notification of personal data breach to the Commissioner);
(ii)Article 34 (communication of personal data breach to the data subject)... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
c7d6d3d4-a2fb-5fe7-ac68-99c4f827e02f | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 56 | (ii)in section 115, subsection (9), so far as it relates to Article 58(2)(i) of the applied GDPR;
(iii)section 119 (inspection in accordance with international obligations);
(h)in Part 6 of this Act—
(i)sections 142 to 154 and Schedule 15 (Commissioner's notices and powers of entry and inspection);
(ii)sections 170... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
111a383b-d92e-5f98-9179-6ca60dc64fcd | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 57 | ##### 27National security: certificateU.K.
(1)Subject to subsection (3), a certificate signed by a Minister of the Crown certifying that exemption from all or any of the provisions listed in section 26(2) is, or at any time was, required in relation to any personal data for the purpose of safeguarding national securit... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
08a03206-199d-5dbe-82d2-10ab856a094b | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 58 | (5)Where, in any proceedings under or by virtue of the applied GDPR or this Act, it is claimed by a controller that a certificate under subsection (1) which identifies the personal data to which it applies by means of a general description applies to any personal data, another party to the proceedings may appeal to the... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
79b4a8cb-ce5d-5a59-8f9b-e27115a9c12f | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 59 | (a)in any legal proceedings, evidence of that certificate;
(b)in any legal proceedings in Scotland, sufficient evidence of that certificate.
(10)The power conferred by subsection (1) on a Minister of the Crown is exercisable only by—
(a)a Minister who is a member of the Cabinet, or
(b)the Attorney General or the Ad... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
e913dc09-80a9-558b-ae86-e60aa103c5e5 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 60 | (1)Article 9(1) of the applied GDPR (prohibition on processing of special categories of personal data) does not prohibit the processing of personal data to which this Chapter applies to the extent that the processing is carried out—
(a)for the purpose of safeguarding national security or for defence purposes, and
(b)... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
c314e0f6-3c18-549f-8633-e6a98d9cb97d | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 61 | (4)For the purposes of subsection (3), where the processing of personal data is carried out wholly or partly by automated means, the controller or the processor must, following an evaluation of the risks, implement measures designed to—
(a)prevent unauthorised processing or unauthorised interference with the systems u... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
850244b9-693d-5429-a0b4-a14fc884a157 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2018-05-25 | 62 | I34[S. 28](/id/ukpga/2018/12/section/28 "Go to S. 28") in force at 25.5.2018 by [S.I. 2018/625](/id/uksi/2018/625 "The Data Protection Act 2018 (Commencement No. 1 and Transitional and Saving Provisions) Regulations 2018"), [**reg. 2(1)(b)**](/id/uksi/2018/625/regulation/2/1/b "Go to The Data Protection Act 2018 (Comme... | raw/data_protection_act_2018/part_2/part_2_2018-05-25.md |
1097114d-257b-5008-b2b8-d7ee1a4fc7f6 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 0 | # Data Protection Act 2018 - Part 2
Source: https://www.legislation.gov.uk/ukpga/2018/12/part/2/2023-01-25
Version: 2023-01-25
---
## **PART 2** U.K.General processing
### CHAPTER 1U.K.Scope and definitions
#### 4Processing to which this Part appliesU.K.
(1)This Part is relevant to most processing of personal dat... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
83323e67-872b-5016-99b5-cafb8805a2bd | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 1 | [F3](#commentary-key-290821ace42a16c497f396db54e9f858 "View the commentary text for this item")(3). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Textual Amendments
[F1](#reference-key-8a3b5bb5e99ea65efdafbe742d8645aa "Go back to reference for this commentary item")Words in s. 4(2) substituted (31.12.... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
e9d5766a-d452-563c-baf1-af57114c2038 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 2 |
[F2](#reference-key-c7ea9a9c87ca4e89d73dbd273cfa8393 "Go back to reference for this commentary item")Words in s. 4(2) substituted (31.12.2020) by [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419)](/id/uksi/2019/419 "The Data Protection, Privacy and ... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
44033636-b398-5a35-bf76-6ee80f142dcf | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 3 |
[F3](#reference-key-290821ace42a16c497f396db54e9f858 "Go back to reference for this commentary item")S. 4(3) omitted (31.12.2020) by virtue of [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419)](/id/uksi/2019/419 "The Data Protection, Privacy and Ele... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
6b68e1aa-2abb-5b42-a6a6-f5ff4d6ce35c | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 4 |
Commencement Information
I1S. 4 in force at 25.5.2018 by [S.I. 2018/625](/id/uksi/2018/625 "Go to item of legislation"), [**reg. 2(1)(b)**](/id/uksi/2018/625/regulation/2/1/b "Go to S.I. 2018/625 reg. 2(1)(b)")
#### 5DefinitionsU.K.
(1)Terms used in [F4](#commentary-key-2fbe32aca2b996b3d860ba43d5ed4d2a "View the co... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
093313f3-da70-5cfa-82f2-bf75bc7490f9 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 5 | (2)In subsection (1), the reference to a term's meaning in the [[F7](#commentary-key-22c9cb2cd2037b308003142aeeee5b32 "View the commentary text for this item")UK GDPR] is to its meaning in the [[F7](#commentary-key-22c9cb2cd2037b308003142aeeee5b32 "View the commentary text for this item")UK GDPR] read with any provisio... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
e0d6d66b-44e1-5390-b65c-4054f60096f8 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 6 | [F10](#commentary-key-908fd5d459d7a579cab7061f3e5f0f93 "View the commentary text for this item")(5). . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
[F10](#commentary-key-908fd5d459d7a579cab7061f3e5f0f93 "View the commentary text for this item")(6). . . . . . . . . . . . . . . . . . . . . . . . . . . . .... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
5d87160a-b37a-5937-8b10-cbe0569d4659 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 7 | [F4](#reference-key-2fbe32aca2b996b3d860ba43d5ed4d2a "Go back to reference for this commentary item")Words in s. 5(1) omitted (31.12.2020) by virtue of [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419)](/id/uksi/2019/419 "The Data Protection, Privacy... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
9269931b-db97-5ce3-bdfc-dbde5a608b4c | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 8 |
[F5](#reference-key-7e8a96925239e5ff10b4c1f795f37f75 "Go back to reference for this commentary item")Words in s. 5(1) substituted (31.12.2020) by [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419)](/id/uksi/2019/419 "The Data Protection, Privacy and ... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
174f58ce-e281-5b75-8970-d0282c3a6c83 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 9 |
[F6](#reference-key-1a7fa63e5530837c3583f0e5c7220882 "Go back to reference for this commentary item")Words in s. 5(1) substituted (31.12.2020) by [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419)](/id/uksi/2019/419 "The Data Protection, Privacy and ... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
1d0bc56a-0c8e-545f-a63b-c59b679200ab | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 10 |
[F7](#reference-key-22c9cb2cd2037b308003142aeeee5b32 "Go back to reference for this commentary item")Words in s. 5(2) substituted (31.12.2020) by [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419)](/id/uksi/2019/419 "The Data Protection, Privacy and ... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
132ea31d-34eb-5a44-bc60-ca24278e25a9 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 11 |
[F8](#reference-key-4166d151c2161e3cfa1baed97addc41e "Go back to reference for this commentary item")Words in s. 5(2) substituted (31.12.2020) by [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419)](/id/uksi/2019/419 "The Data Protection, Privacy and ... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
f890b733-aaa9-5a30-beb8-4c30a9c2f034 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 12 |
[F9](#reference-key-a2c39c1b8f50d64d3eab992537ab337c "Go back to reference for this commentary item")Words in s. 5(3) substituted (31.12.2020) by [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419)](/id/uksi/2019/419 "The Data Protection, Privacy and ... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
3a7b5413-e6fd-5da3-bf8e-62686b1713b4 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 13 |
[F10](#reference-key-908fd5d459d7a579cab7061f3e5f0f93 "Go back to reference for this commentary item")S. 5(4)(5)(6) omitted (31.12.2020) by virtue of [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419)](/id/uksi/2019/419 "The Data Protection, Privacy ... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
8a16d02f-feb9-5e09-97df-8ed3eb2b2628 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 14 |
[F11](#reference-key-7acebc72466e110599be1c7c05f2d8a7 "Go back to reference for this commentary item")Words in s. 5(7) omitted (31.12.2020) by virtue of [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419)](/id/uksi/2019/419 "The Data Protection, Priva... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
c930bc22-44a2-52e1-b073-7c8635283814 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 15 |
[F12](#reference-key-4d10128808e45c569543c313b90f3f68 "Go back to reference for this commentary item")Words in s. 5(7) substituted (31.12.2020) by [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419)](/id/uksi/2019/419 "The Data Protection, Privacy and... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
22b52c34-5795-53ad-b0c4-b8826dbfbda1 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 16 |
Commencement Information
I2S. 5 in force at 25.5.2018 by [S.I. 2018/625](/id/uksi/2018/625 "Go to item of legislation"), [**reg. 2(1)(b)**](/id/uksi/2018/625/regulation/2/1/b "Go to S.I. 2018/625 reg. 2(1)(b)")
### CHAPTER 2U.K.[[F13](#commentary-key-450c7b25512dedb58adb3ea87cb6ba20 "View the commentary text for thi... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
7ce2fc0a-d6de-5659-988e-118416bacc0f | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 17 | [F13](#reference-key-450c7b25512dedb58adb3ea87cb6ba20 "Go back to reference for this commentary item")[Pt. 2 Ch. 2](/id/ukpga/2018/12/part/2/chapter/2 "Go to Pt. 2 Ch. 2") heading substituted (31.12.2020) by [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 20... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
260b1c2e-2f51-567a-ae09-eda98ee99210 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 18 |
#### Meaning of certain terms used in the [[F14](#commentary-key-8b51cd157e46935889ef5f9158b92e3a "View the commentary text for this item")UK GDPR] U.K.
Textual Amendments
[F14](#reference-key-8b51cd157e46935889ef5f9158b92e3a "Go back to reference for this commentary item")Words in [s. 6 cross-heading](/id/ukpga/201... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
57bce1ea-6500-56e0-a94a-1ef1d404c93c | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 19 |
##### 6Meaning of “controller”U.K.
(1)The definition of “controller” in Article 4(7) of the [[F15](#commentary-key-79e7068c8e4cd6fd22e23d24f813e766 "View the commentary text for this item")UK GDPR] has effect subject to—
(a)subsection (2),
(b)section 209, and
(c)section 210.
(2)For the purposes of the [[F16](#com... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
d0a1c3b0-9e1f-51b4-97ca-046352362f7a | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 20 | [F15](#reference-key-79e7068c8e4cd6fd22e23d24f813e766 "Go back to reference for this commentary item")Words in [s. 6(1)](/id/ukpga/2018/12/section/6/1 "Go to s. 6(1)") substituted (31.12.2020) by [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419)](/id... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
1b115a8d-6edb-5794-822f-0ba67049e3d4 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 21 |
[F16](#reference-key-09da2f0bffbc26c05b2dc87ab4d3cd36 "Go back to reference for this commentary item")Words in [s. 6(2)](/id/ukpga/2018/12/section/6/2 "Go to s. 6(2)") substituted (31.12.2020) by [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419)](/i... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
22f2881e-a5ea-58a9-89a0-e4aa845dc345 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 22 |
Commencement Information
I3S. 6 in force at 25.5.2018 by [S.I. 2018/625](/id/uksi/2018/625 "Go to item of legislation"), [**reg. 2(1)(b)**](/id/uksi/2018/625/regulation/2/1/b "Go to S.I. 2018/625 reg. 2(1)(b)")
##### 7Meaning of “public authority” and “public body”U.K.
(1)For the purposes of the [[F17](#commentary-... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
beb41ee6-3722-52bb-83eb-72bf74cd9360 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 23 | subject to subsections (2), (3) and (4).
(2)An authority or body that falls within subsection (1) is only a “public authority” or “public body” for the purposes of the [[F20](#commentary-key-764b5a189b5ddc8f21ff15d3aadd46f8 "View the commentary text for this item")UK GDPR] when performing a task carried out in the pub... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
c78a0d92-1e85-5d3c-a1bc-19c02fd96fa9 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 24 | (ii)under Part 1 of the Local Government and Public Involvement in Health Act 2007, or
(iii)by the Charter Trustees Regulations 1996 (S.I. 1996/263).
(4)The Secretary of State may by regulations provide that a person specified or described in the regulations that is a public authority [[F21](#commentary-key-47be8568f... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
e499ff86-0646-5ffd-a627-83aac87efa8b | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 25 | [F17](#reference-key-4216612a3b459824a4e163c8d4af1a07 "Go back to reference for this commentary item")Words in s. 7(1) substituted (31.12.2020) by [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419)](/id/uksi/2019/419 "The Data Protection, Privacy and ... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
69ec90ab-35c4-5ac5-9dfc-9a56b505517e | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 26 |
[F18](#reference-key-ec0cba10767091647b040d74d1178660 "Go back to reference for this commentary item")Words in s. 7(1) omitted (31.12.2020) by virtue of [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419)](/id/uksi/2019/419 "The Data Protection, Priva... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
0a1a1383-112a-53a1-9f3e-a50a5d3e8e1d | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 27 |
[F19](#reference-key-d6f4e27ae8c0a8a0d6b9afb5b4427125 "Go back to reference for this commentary item")S. 7(1)(ba) inserted (25.1.2023) by [Advanced Research and Invention Agency Act 2022 (c. 4)](/id/ukpga/2022/4 "Advanced Research and Invention Agency Act 2022"), [s. 13(1)](/id/ukpga/2022/4/section/13/1 "Go to Advance... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
ab0e86e4-85aa-5204-be30-3da254df2b1d | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 28 | [F20](#reference-key-764b5a189b5ddc8f21ff15d3aadd46f8 "Go back to reference for this commentary item")Words in s. 7(2) substituted (31.12.2020) by [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419)](/id/uksi/2019/419 "The Data Protection, Privacy and ... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
1639f019-76c9-5c9e-a74e-db92eb3a5aa1 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 29 |
[F21](#reference-key-47be8568fc2fb24fc749f0903b5c4987 "Go back to reference for this commentary item")Words in s. 7(4) substituted (25.1.2023) by [Advanced Research and Invention Agency Act 2022 (c. 4)](/id/ukpga/2022/4 "Advanced Research and Invention Agency Act 2022"), [s. 13(1)](/id/ukpga/2022/4/section/13/1 "Go to... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
eea14f5a-65a6-580c-81ff-d03e9bcda56f | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 30 | [F22](#reference-key-5936aeb81208d327b09b5d2cf83f1a01 "Go back to reference for this commentary item")Words in s. 7(4) substituted (31.12.2020) by [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419)](/id/uksi/2019/419 "The Data Protection, Privacy and ... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
86bd9c18-ce9f-59af-bf7d-516dfdb7cce7 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 31 |
Commencement Information
I4S. 7 in force at Royal Assent for specified purposes, see [s. 212(2)(f)](/id/ukpga/2018/12/section/212/2/f "Go to s. 212(2)(f)")
I5S. 7 in force at 25.5.2018 in so far as not already in force by [S.I. 2018/625](/id/uksi/2018/625 "Go to item of legislation"), [**reg. 2(1)(b)**](/id/uksi/201... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
b751d989-ec0f-5224-8293-19ea1688b118 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 32 | (c)the exercise of a function conferred on a person by an enactment or rule of law,
(d)the exercise of a function of the Crown, a Minister of the Crown or a government department, or
(e)an activity that supports or promotes democratic engagement.
Textual Amendments
| raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
9ce002f8-66f2-58da-b795-16aa340354ee | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 33 | [F23](#reference-key-5fa4e1b4e3138284c1e0c09af0505f2a "Go back to reference for this commentary item")Words in s. 8 substituted (31.12.2020) by [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419)](/id/uksi/2019/419 "The Data Protection, Privacy and Ele... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
de1da938-be46-5dd0-a157-90c1e411650c | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 34 |
Commencement Information
I6S. 8 in force at 25.5.2018 by [S.I. 2018/625](/id/uksi/2018/625 "Go to item of legislation"), [**reg. 2(1)(b)**](/id/uksi/2018/625/regulation/2/1/b "Go to S.I. 2018/625 reg. 2(1)(b)")
##### [F24](#commentary-key-81281ac0c84a46bf1301b64aa0388e21 "View the commentary text for this item")9Chi... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
4f99ecfa-e1f2-52ec-9f99-9026c1cb9ebc | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 35 | [F24](#reference-key-81281ac0c84a46bf1301b64aa0388e21 "Go back to reference for this commentary item")[S. 9](/id/ukpga/2018/12/section/9 "Go to S. 9") omitted (31.12.2020) by virtue of [The Data Protection, Privacy and Electronic Communications (Amendments etc) (EU Exit) Regulations 2019 (S.I. 2019/419)](/id/uksi/2019/... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
58311413-07e1-5dc6-9231-598dfa9535b2 | legal | data_protection_act_2018 | data_protection_act_2018__part_2 | 2023-01-25 | 36 |
#### Special categories of personal dataU.K.
##### 10Special categories of personal data and criminal convictions etc dataU.K.
(1)Subsections (2) and (3) make provision about the processing of personal data described in Article 9(1) of the [[F25](#commentary-key-65db54d1863afa51736d7484ad25641f "View the commentary ... | raw/data_protection_act_2018/part_2/part_2_2023-01-25.md |
Version-Aware RAG — UK Legal Corpus
A version-aware evaluation dataset for Retrieval-Augmented Generation (RAG) over UK primary legislation. Every Part of every Act in the corpus is stored as multiple point-in-time snapshots — the same provision as it was in force on a given historical date — so retrieval systems can be evaluated on their ability to answer version-specific and change-over-time queries.
This is the legal-domain companion of
Kajaluxan/version-aware-rag-corpus
(software documentation). Both datasets share the same Q&A taxonomy and the
same lossless chunking pipeline, so results across the two domains are
directly comparable.
Highlights
| Source | legislation.gov.uk (Point-in-time API) |
| UK Public General Acts | 5 |
| Parts | 96 |
| Point-in-time versions (markdown files) | 355 |
| Versions per Part | 3 – 4 (mean 3.7) |
| Lossless chunks (parquet) | 18,935 |
| Q&A pairs (validated) | 547 |
| Total raw corpus size | ~16 MB |
| Language | English (UK legal) |
| License | Open Government Licence v3.0 |
Repository layout
version-aware-RAG-legal/
├── README.md
├── corpus/ # 355 point-in-time markdown files
│ └── <act_slug>/<part_dir>/<part_dir>_<YYYY-MM-DD>.md
├── chunks/
│ └── chunks.parquet # 18,935 lossless chunks
└── evaluation/
└── evaluation_set.csv # 547 validated Q&A pairs
Covered Acts
| Act slug | Title | URI | Parts | Versions |
|---|---|---|---|---|
data_protection_act_2018 |
Data Protection Act 2018 | ukpga/2018/12 | 12 | 45 |
equality_act_2010 |
Equality Act 2010 | ukpga/2010/15 | 21 | 74 |
finance_act_2003 |
Finance Act 2003 | ukpga/2003/14 | 18 | 67 |
income_tax_earnings_pensions_act_2003 |
Income Tax (Earnings and Pensions) Act 2003 | ukpga/2003/1 | 37 | 137 |
localism_act_2011 |
Localism Act 2011 | ukpga/2011/20 | 8 | 32 |
Acts were chosen to maximise the number of historical amendments. Every Part has at least three distinct point-in-time versions, which is required to make change-retrieval evaluation meaningful. The number of versions per Part is capped at 4 (oldest + newest + two evenly-spaced middle dates) to keep the corpus footprint comparable to the sibling software dataset.
Raw corpus (corpus/)
Each markdown file is a single Part of an Act as it was in force on a specific date. File-name convention:
corpus/equality_act_2010/part_2/part_2_2017-04-06.md
│ └── point-in-time version date (ISO 8601)
└── part identifier
The body of each file is the legislative text rendered to Markdown from the
HTML at https://www.legislation.gov.uk/<URI>/part/<N>/<date>, prefixed with a
small header:
# Equality Act 2010 - Part 2
Source: https://www.legislation.gov.uk/ukpga/2010/15/part/2/2017-04-06
Version: 2017-04-06
---
## **Part 2** E+W+SEquality: key concepts
...
Per-Part file-size profile matches the software-corpus profile in the sibling dataset (mean ≈ 45 KB), so cross-domain evaluation is fair.
Pre-chunked corpus (chunks/chunks.parquet)
18,935 passages produced by the same lossless, fence-aware Markdown chunker
used in version-aware-rag-corpus. The chunking function is a verbatim copy
of _chunk_lossless from the indexing pipeline, so chunk boundaries follow
identical rules in both datasets.
| Property | Value |
|---|---|
| Rows (chunks) | 18,935 |
| Source markdown files | 355 |
| Chunker | Line-based walk, heading-aware soft split, code-fence aware |
| Length bounds (chars) | min 250 / soft-max 800 / hard-max 1024 |
| Lossless guarantee | "\n".join(chunks_of_file) reconstructs the source modulo trailing newlines |
| Mean chunk length | ~887 chars |
Columns:
| Column | Type | Description |
|---|---|---|
chunk_id |
str | Deterministic UUIDv5 of {document}_{version_raw}_{chunk_index} |
doc_type |
str | Always legal for this dataset |
category |
str | Act slug, e.g. equality_act_2010 |
document |
str | Document family {act_slug}__{part_dir} — e.g. equality_act_2010__part_2 |
version_raw |
str | ISO date string YYYY-MM-DD |
chunk_index |
int | Zero-based position of the chunk in its source file |
text |
str | Chunk content |
file_path |
str | Source file path inside the dataset, e.g. raw/equality_act_2010/part_2/part_2_2017-04-06.md |
Evaluation set (evaluation/evaluation_set.csv)
547 question/answer pairs distributed across six question types — the same
taxonomy as version-aware-rag-corpus:
| Type | Rows | What it tests |
|---|---|---|
| Version-Specific Content Retrieval | 97 | Lookup over a named historical version |
| Version Listing & Inquiry | 95 | "Latest / oldest / list versions of X" |
| Content Retrieval | 93 | Simple factual lookup over a single Part |
| Change Retrieval (explicit) | 91 | "What changed in X between v1 and v2?" |
| Content Retrieval Complex | 86 | Multi-step reasoning over one Part |
| Change Retrieval (implicit) | 85 | "In which version was X added?" |
| Total | 547 |
Columns: type, question, answer — same 3-column shape as the software set.
How the set was built
- Generation. Per row, one prompt was rendered containing the relevant
source file(s) and a type-specific instruction with one in-domain
example. A single chat completion was requested via OpenRouter
(
deepseek/deepseek-v3.2), producing one JSON{question, answer}pair. Source files were chosen with weighted random sampling to spread questions fairly across all 96 Parts. - Validation. Each candidate pair was scored 0/1 by an independent
judge (
deepseek/deepseek-v4-provia OpenRouter), given the question, the proposed answer, and the same source file(s) the generator saw. Only pairs scored1are kept in this CSV. 598 candidates were generated, 547 passed validation → overall acceptance rate 91.5 %.
Per-type acceptance rates (judge: deepseek/deepseek-v4-pro)
| Type | Pass | Total | Accuracy |
|---|---|---|---|
| Version-Specific Content Retrieval | 97 | 100 | 97.0 % |
| Version Listing & Inquiry | 95 | 99 | 96.0 % |
| Content Retrieval | 93 | 99 | 93.9 % |
| Change Retrieval (explicit) | 91 | 100 | 91.0 % |
| Content Retrieval Complex | 86 | 100 | 86.0 % |
| Change Retrieval (implicit) | 85 | 100 | 85.0 % |
| Overall | 547 | 598 | 91.5 % |
Lower pass rates on the change-retrieval and complex-reasoning types reflect the difficulty of those tasks — a useful signal that they are not trivially solvable.
Usage
Load the evaluation set
from datasets import load_dataset
ds = load_dataset("Kajaluxan/version-aware-RAG-legal", name="evaluation", split="test")
print(ds[0])
# {'type': 'Content Retrieval',
# 'question': 'According to section 5 of the Equality Act 2010 ...',
# 'answer': '...'}
Load the pre-chunked corpus
from datasets import load_dataset
chunks = load_dataset("Kajaluxan/version-aware-RAG-legal", name="chunks", split="train")
print(chunks[0])
# {'chunk_id': '...', 'doc_type': 'legal',
# 'category': 'equality_act_2010',
# 'document': 'equality_act_2010__part_2',
# 'version_raw': '2017-04-06', 'chunk_index': 0,
# 'text': '# Equality Act 2010 - Part 2 ...',
# 'file_path': 'raw/equality_act_2010/part_2/part_2_2017-04-06.md'}
Walk the raw corpus
The raw markdown lives under corpus/. To download just the raw files
without the parquet, use the huggingface_hub snapshot API:
from huggingface_hub import snapshot_download
local = snapshot_download(
repo_id="Kajaluxan/version-aware-RAG-legal",
repo_type="dataset",
allow_patterns=["corpus/**", "README.md"],
)
Construction pipeline
The dataset was built with a multi-step pipeline:
discover.py— for each Act, fetch the CLML XML fromlegislation.gov.uk/<URI>/data.xml, enumerate every<Part>, and collect the uniqueRestrictStartDatevalues inside its subtree. These are the real point-in-time version dates.select_parts.py— sample one version per Part, convert to Markdown, keep only Parts with ≥3 versions and a sample size between 5 KB and 250 KB. Versions per Part are capped at 4 (oldest + newest + two evenly-spaced middle dates).download.py— fetch the HTML for every (Part × version) pair, strip GOV.UK chrome, and write Markdown to disk.chunk_corpus.py— apply the lossless chunker, writechunks.parquet.generate_qa.py/validate_qa.py— produce and judge the evaluation set.
Licensing
All legislative text in this dataset is derived from material on legislation.gov.uk, Crown copyright, licensed under the Open Government Licence v3.0.
The licence permits commercial and non-commercial use with attribution. Please attribute legislation.gov.uk as the source.
Citation
If you use this dataset in academic work, please cite:
@misc{mathitharan2026versionaware,
title = {Version-Aware RAG — UK Legal Corpus},
author = {Mathitharan, Kajaluxan},
year = {2026},
url = {https://huggingface.co/datasets/Kajaluxan/version-aware-RAG-legal},
note = {Companion dataset to Kajaluxan/version-aware-rag-corpus}
}
Limitations
- Five UK Acts only. Companies Act 2006, Corporation Tax Act 2010 and Income Tax Act 2007 were intentionally excluded — the first because legislation.gov.uk's XML endpoint never returned a usable response, and the latter two to keep the dataset footprint comparable to the sibling software dataset. The five selected Acts still cover anti-discrimination law, data protection, income tax, planning/local government, and broader tax administration.
- Capped version history. Each Part is represented by at most four point-in-time versions (oldest + newest + two intermediates). The full amendment history on legislation.gov.uk is richer; see the construction pipeline if you need the complete set.
- Single jurisdiction. All material is UK primary legislation. Statutory Instruments (secondary legislation) and case law are out of scope.
- English text only.
- Snapshot in time. The corpus was collected in May 2026 — future point-in-time amendments will not appear unless the dataset is regenerated.
- Judge bias. Acceptance scores in
evaluation_set.csvreflect the decisions of a single LLM judge (deepseek/deepseek-v4-pro). A manual spot-check of passed rows found the claims to be grounded in the cited sources, but no formal bound is provided.
- Downloads last month
- 717