In various GDPR provisions processing for research purposes is privileged:
Further processing: In particular, it should be emphasised that the further processing of personal data for research purposes is generally permissible (Art. 5 I b GDPR).
Derogations: Art. 89 GDPR provides for derogations from some of the provisions of the GDPR, but also requires appropriate safeguards.
Increase in knowledge: The GDPR recognises that research purposes may serve a public interest: "Scientific or historical research purposes [...] should take into account legitimate societal expectations regarding an increase in knowledge." (Rec. 113 (4) GDPR)
Research-specific regulations:
Articles: 1 II, 5 I b/e, 9 II j, 14 V b, 17 III d, 21 VI, 85 and 89 I/II/IV GDPR.
Recitals: 4, 33, 50, 52, 53, 62, 65, 113, 153, 156, 157 and 159-162 GDPR.
Scientific freedom is a fundamental right under Art. 13 CFR, which can be invoked by the controller of personal data [Tile CO.14].