dsSynthetic: synthetic data generation for the DataSHIELD federated analysis system.
BMC research notes 2022 ; 15: 230.
DOI : 10.1186/s13104-022-06111-2
PubMed ID : 35761417
URL : https://bmcresnotes.biomedcentral.com/articles/10.1186/s13104-022-06111-2
Platforms such as DataSHIELD allow users to analyse sensitive data remotely, without having full access to the detailed data items (federated analysis). While this feature helps to overcome difficulties with data sharing, it can make it challenging to write code without full visibility of the data. One solution is to generate realistic, non-disclosive synthetic data that can be transferred to the analyst so they can perfect their code without the access limitation. When this process is complete, they can run the code on the real data.
We have created a package in DataSHIELD (dsSynthetic) which allows generation of realistic synthetic data, building on existing packages. In our paper and accompanying tutorial we demonstrate how the use of synthetic data generated with our package can help DataSHIELD users with tasks such as writing analysis scripts and harmonising data to common scales and measures.