Regulation (EU) 2016/679 of the European Parliament and of the Council of 27 April 2016 on the protection of natural persons with regard to…

8A Safeguards for processing for research, archiving or statistical purposes

Source: legislation.gov.uk (The National Archives), UK legislation with its point-in-time versions. Official publication. Reuse: Open Government Licence v3.0.