The code provides practical guidance on how to comply with data protection law and good practice when personal information is used for journalism.