Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Book

Organizing and Versioning Research Data

Open in Google Slides

What is Research Data Management ?

To put it briefly, Research Data Management are all of the processes, strategies and policies that will be put in place before, during and after a research project, in order to ensure that your research data is being properly, stored, organized, manipulated, shared, preserved, etc.

One of the key factors influencing the replicability crisis, is that data is often improperly managed and documented. For example ;

Remember that replicability is a spectrum, not a binary. The more actions you take during your project to ensure that your data is properly managed, the more likely it is that your results or data, can be replicated or reused afterwards.

What We’ll Cover

The Data Management Lifecycle

Research data management is usually broken into stages: planning (before the project), data creation and collection, analysis and processing, publication and sharing, long-term preservation, and eventually destruction — each with its own decisions about format, access, and retention. Planning early matters: naming and folder conventions, consent for future reuse, and a storage plan are all far cheaper to set up before data exists than to retrofit afterward.

Organizing Files and Folders

A few low-cost habits make a dataset dramatically easier to reuse — by others, and by yourself in six months:

Documentation

Having detailed documentation that explains how your data is organized and its evolution, is key if you want your dataset to be reuseable in the future. Keeping documentation and keeping it up to date is like writing a letter to your future self, explaining all of the small details that you will later forget. Here are some of the main types of documentation that you might come across when working with research data.

NameDefinitionScopeSource
Data DictionaryA document that outlines the structure, content, and meaning of a given variableFile levelNational Center for Data Services
README FilesA file included in a folder, also called a directory, to explain how to use and understand other files in the directoryDataset levelNational Center for Data Services
Data Management PlansDetails how data will be collected, processed, analyzed, described, preserved, and shared during the course of a research project [...] DMPs ensure that data will be properly documented and available for use by other researchers in the futureProject levelNational Center for Data Services

Research Ethics and Personal Data

Any research involving human participants or their data — surveys, interviews, biological materials, medical records — requires approval from your institution’s research ethics board (an REB, or IRB in the US) before you access data or recruit participants, even if you’re collecting it yourself (primary collection) or requesting data someone else already collected for another purpose (secondary use). For primary collection, the board helps you draft an informed consent form; for secondary use, it checks that the original consent actually covers your new use. (At Polytechnique Montréal, this is the REB.)

Personal information — anything that can identify someone, directly or indirectly — is sensitive when people have a high expectation of privacy around it (health information, ethnicity, financial data, and similar). Data shared publicly must be properly anonymized, and jurisdictions increasingly regulate how — for example, Quebec’s regulation on the anonymization of personal information (A-2.1, r. 0.1). A handful of research topics are also subject to export-control and sanctions regimes that restrict dissemination — check with your institution’s research security office if that might apply to you. (At Polytechnique, that’s secretariat.general@polymtl.ca for anonymization questions, and securite.recherche@polymtl.ca for research security.)

Sharing Data and Code

A dedicated data-sharing platform (e.g., Borealis, Zenodo, or a discipline-specific one like OpenNeuro) gives a finished dataset a citable landing page, searchable metadata, a DOI, and linear versioning — exactly what the FAIR principles from Lecture 1 ask for. In this course, Lab 2 uses Polytechnique’s Borealis Dataverse — built on Harvard’s Dataverse software and supported by the Digital Research Alliance of Canada — to deposit a real dataset.

Versioning Large Files with Git

Once a large file is committed to a Git repository, it’s part of the history forever — every future clone and pull pays for it, and deleting it in a later commit doesn’t help. The fix is to keep the large content out of Git itself: store it somewhere else, addressed by a stable content hash (like a sha256sum), and let Git track only a small pointer to it. A few ways to do that, roughly from simplest to most flexible:

Which one to use depends on your field’s norms, your collaborators, and how much ongoing maintenance you’re willing to take on — there’s no universally right answer.

Further ressources