In my previous post, I talked about managing projects with Github and how crucial it is to make your work reproducible. While we craft our writings on paper to present the idea better, it is equally important to make our code readable for someone trying to understand the work.
I listed here a few points on writing more explicit code, mostly from my own experience. Read more about good and bad R code style on Google’s R Style Guide.
This post is inspired by Professor Mallory’s presentation on Reproducible Research Practices for Economists. See the presentation version that I gave at a lab meeting.
Summary Introduced project management practices for file management and version controls.
Principles for organized project management: keep raw data intact, use version controls, use progress management and save files in the relative path.
Introductions to R, RStudio, R markdown, Github
Steps to manage a project with RStudio and Github (added in Stata version)