Get your files and folders in order (step 1)
E-mail course: 6 steps towards reproducible research
Hi there!
Great to see you back here 😃
Today is all about getting our files and folders organised ✨
Step 1: Get your files and folders in order
My first research project was a mess 🙈. I had hundreds of files with dubious file names and sometimes several files with similar code written for computing on different infrastructures (my computer, the institute server, the cluster of the computing facility).
I felt like the worst researcher of all times. But I wasn’t. Many struggle with organising their files and folders in increasingly complex research projects.
How to organise files and folders well?
It basically comes down to structuring folders and files systematically from the beginning.
Think about what a good folder structure could be for your research project. A standard project of mine looks something like this:
Not every project is the same and likely your project will be more complex than this. But if you think about good organisation from the beginning, it will be easier in the long run.
What do you think about file oder folder organisation? Is your foldor structure similar to mine? Let’s discuss here or on Twitter!
Your task
Check one of your current research projects and get it organised 💪:
Does your folder structure help you and others find files fast?
What would a better structure look like?
If the project is a collaborative effort: suggest your new structure to your collaborators. Do they like it or do they have better ideas?
Implement the new structure 🚀
Further reading
I want to keep these newsletters short, but in case you want to dive deeper, I recommend reading:
Research Compendia, The Turing Way
Folder structure of R packages, Making Packages in R, Software Carpentry
Next up
In the next newsletter we will discuss step 2: Use good names for files, folders, functions, …
All the best,
Heidi
P.S.: Did you know I am organising an Open Science Retreat? Come and join us!
You mean I should name my files “analysis_final_final_DEFINITELYFINAL.sav?” 😅 Great post!
Nice overview! I like the directory structure from PyScaffold