Data management plans and open science for EMA and sensing data

A data management plan for EMA and sensing studies has to reconcile two demands: funders expect reusable data, and raw sensing data such as location traces can hardly be anonymised. In practice this leads to tiered sharing: aggregated features in the open, finer data only through controlled access.

Updated on

What do funders expect?

The German Research Foundation (DFG) asks applicants to state which research data a project will produce, which standards and repositories are relevant and which third-party rights are affected. According to its guidelines on the handling of research data, data should be made available as promptly as possible, provided third-party rights, data protection in particular, do not stand in the way, and should be archived for at least ten years (DFG, 2015).

For the description in the proposal, the DFG provides a checklist with six topics (DFG, 2021). You can apply for the costs of preparing the data and of using infrastructures as part of the proposal (DFG, 2015). Other funders have their own requirements, so check the respective call.

Building blocks of a data management plan

The table maps the six topics of the DFG checklist to what belongs there for intensive longitudinal data from surveys and sensing.

Topic in the DFG checklistFor EMA and sensing
Data descriptionSurvey data per measurement occasion, sensor data per data type, raw data and derived features, file formats, expected volume
Documentation and data qualityCodebook, sampling schedule, app version, operating system and device model, rules for compliance and coverage of sensor data
Storage and technical backupStorage location, encryption, access rights, pseudonyms, contact details kept separately
Legal obligations and frameworkConsent including reuse, data protection, data processing agreement, ethics approval, requirements of the platform operators
Data sharing and long-term accessibilityWhich data are shared openly, which under controlled access, in which repository, with which embargo periods
Responsibilities and resourcesWho curates the data during and after the project, effort for preparation and archiving

FAIR does not automatically mean open

The FAIR principles require data to be findable, accessible, interoperable and reusable, for machines as well as for people (Wilkinson et al., 2016). Accessible here means that the route to the data is clearly described. The principles explicitly allow access to require authentication and authorisation where necessary (A1.2), and they ask that metadata remain accessible even when the data are no longer available (A2).

  • Findable: a persistent identifier such as a DOI and meaningful metadata in a repository
  • Accessible: a described access route, also for restricted access
  • Interoperable: open formats such as CSV or Parquet, timestamps in UTC with time zone information, consistent variable names
  • Reusable: a codebook, a licence or terms of use and a description of the data collection

Preregistering EMA studies

According to Kirtley et al. (2021), ESM studies involve numerous researcher degrees of freedom. The authors therefore developed a dedicated registration template for experience sampling studies, which also covers studies using pre-existing data. They address typical hurdles such as model selection and models that fail to converge.

  • Sampling scheme, number of prompts, response window and duration
  • Items with wording and scale
  • The rule for the compliance level at which a person enters the analysis
  • Processing of sensor data and handling of gaps
  • Statistical model and procedure if it does not converge

For the later report, a review of reporting standards recommends details on sample, sampling design, measures, devices and software, compliance, participant training, monitoring and remuneration, and data management and analysis (Trull & Ebner-Priemer, 2020).

Why are raw sensing data hard to anonymise?

Removing names does not make movement data anonymous. In mobility data from 1.5 million people over 15 months, four points in space and time were enough to uniquely identify 95% of individuals, although location was available only hourly and only at the level of mobile network antennas. Coarser resolution reduced uniqueness only slowly (de Montjoye et al., 2013).

Other data types can also make people identifiable. Typed text can contain names and addresses, and Wi-Fi names, app lists or music titles can point to a person. The German Data Forum recommends that data for which re-identification cannot be ruled out should in principle not be published freely unless participants explicitly agree after being informed about the risks. It also advises collecting location data only when the research question needs them, and storing them less precisely or already processed where possible (RatSWD, 2020).

Ways to share sensing data nonetheless

RouteWhat is sharedRequirement
Aggregated features, openDaily values such as steps, screen time or number of places visited, plus survey data without free text, codebook and scriptsA check that rare combinations do not make a person identifiable
Tiered accessFiner data, such as hourly features with timestampsApplication, data use agreement, access for research purposes only
Scientific use fileCommon term for a data set prepared for research, usually coarsened, that a research data centre providesData use agreement under the terms of the data centre
Protected environmentRaw data such as location traces or text, analysis only on site or in a secured environmentOutput checks before results are released
Metadata onlyA description of the data set with a contact for requestsWhen consent does not cover sharing

For such data, the German Data Forum (RatSWD, 2020) recommends research data centres with limited and regulated access and data use agreements. The route is decided before data collection: the German Data Forum recommends regulating the storage and reuse of data in the consent form. This article is orientation, not legal advice. Agree the procedure with the data protection officer and the research data service of your institution.

Documentation and retention

A codebook for EMA and sensing data contains at least:

  • Every variable with wording, response options, coding and missing values
  • The sampling schedule with time windows, response window and reminders
  • Per sensor the sampling rate, the unit, the differences between iOS and Android and known gaps
  • Time format and time zone, and the rule for how days are formed
  • How derived features are computed, with script and software version

On retention, guideline 17 of the DFG Code of Conduct states: research data underlying publicly available results are generally kept for ten years, at the institution where they were produced or in cross-location repositories. The period begins on the date public access is established. Shorter periods are possible in justified cases and are documented (DFG, 2019).

For personal data, this is set against data protection. The German Data Forum (RatSWD, 2020) points out that data must in principle be anonymised once the research purpose has been achieved. Clarify with your data protection officer and research data service how retention and deletion can be reconciled in your case. Your plan should state at which processing stage data are archived, and the consent form should name the retention period.

Frequently asked questions

What belongs in a data management plan for an EMA study?

The six topics of the DFG checklist: data description, documentation and data quality, storage and technical backup, legal obligations and framework, data sharing and long-term accessibility, and responsibilities and resources (DFG, 2021). For sensing, add data volume, platform differences and the access route for raw data.

May I publish location data from a study openly?

As a rule not as raw data. In one mobile phone dataset, four points in space and time were enough to uniquely identify 95% of individuals (de Montjoye et al., 2013). Aggregated features or controlled access are the obvious alternatives, agreed with the data protection officer.

How long do research data have to be kept?

Under guideline 17 of the DFG Code of Conduct, generally ten years from the date public access is established. Shorter periods are possible in justified cases. For personal data, clarify with your institution in which form the data are archived.

Does an EMA study have to be preregistered?

That depends on your funder and journal, so check their requirements. A dedicated registration template exists for EMA that addresses the particular features of the method, such as model selection and convergence problems (Kirtley et al., 2021).

With PULSE

PULSE, the research platform of the Center for Computation of Human Behavior, provides building blocks for the data management plan, but it does not replace a repository or a long-term archive. The export comes as CSV or Parquet with a codebook of tables and columns, a codebook of questions and response options, and a summary with row counts and the options chosen. Timestamps are in UTC with the time offset per record. Depending on the package, the export includes a feature set with computed values per person and hour, day, week or month together with a description of the methods, which is a suitable starting point for aggregated features. Participants appear only under a pseudonymous identifier, PULSE does not store names or email addresses, and every download is logged. The data remain personal data; checking them before sharing and archiving them in line with good research practice remain with you and your institution.

Further reading

Sources

  1. Deutsche Forschungsgemeinschaft (2015). Leitlinien zum Umgang mit Forschungsdaten [Guidelines on the handling of research data]. Adopted by the DFG Senate on 30 September 2015. https://www.dfg.de/resource/blob/172112/leitlinien-forschungsdaten.pdf
  2. Deutsche Forschungsgemeinschaft (2021). Umgang mit Forschungsdaten: Checkliste für Antragstellende zur Planung und zur Beschreibung des Umgangs mit Forschungsdaten in Forschungsvorhaben [Checklist for applicants]. Version of 21 December 2021. https://www.dfg.de/resource/blob/174732/forschungsdaten-checkliste-de.pdf
  3. Deutsche Forschungsgemeinschaft (2019). Leitlinien zur Sicherung guter wissenschaftlicher Praxis. Kodex [Guidelines for safeguarding good research practice. Code of conduct], adopted on 3 July 2019. Guideline 17: Archiving (online version, in German). https://wissenschaftliche-integritaet.de/kodex/archivierung/
  4. Wilkinson, M. D., Dumontier, M., Aalbersberg, I. J., Appleton, G., Axton, M., Baak, A., ... Mons, B. (2016). The FAIR Guiding Principles for scientific data management and stewardship. Scientific Data, 3, 160018. https://doi.org/10.1038/sdata.2016.18
  5. Kirtley, O. J., Lafit, G., Achterhof, R., Hiekkaranta, A. P., & Myin-Germeys, I. (2021). Making the black box transparent: A template and tutorial for registration of studies using experience-sampling methods. Advances in Methods and Practices in Psychological Science, 4(1). https://doi.org/10.1177/2515245920924686
  6. Trull, T. J., & Ebner-Priemer, U. W. (2020). Ambulatory assessment in psychopathology research: A review of recommended reporting guidelines and current practices. Journal of Abnormal Psychology, 129(1), 56-63. https://doi.org/10.1037/abn0000473
  7. de Montjoye, Y.-A., Hidalgo, C. A., Verleysen, M., & Blondel, V. D. (2013). Unique in the crowd: The privacy bounds of human mobility. Scientific Reports, 3, 1376. https://doi.org/10.1038/srep01376
  8. German Data Forum (RatSWD) (2020). Datenerhebung mit neuer Informationstechnologie: Empfehlungen zu Datenqualität und -management, Forschungsethik und Datenschutz [Data collection using new information technology]. RatSWD Output 6 (6). https://doi.org/10.17620/02671.47