This is a GitHub repository template for a reproducible data analysis project using RStudio, R Markdown, Quarto, and GitHub. The structure below gives an example of files for the individual folders. Each folder contains a README.md file with additional information. Thanks to andreashandel and others from whom this template is inspired.
You can generate a new repository with the same folder structure and files by following these steps.
An example for the content of this project template looks like this:
- R
- 00_main.R
- 01_cleaning.R
- 02_analysis.R
- 03_plotting.R
- data
- processed
- cleaned_data.csv
- processed_data.rds
- raw
- original_data.csv
- spreadsheet_data.xlsx
- processed
- output
- figures
- 01_figure.png
- 02_figure.pdf
- tables
- 01_table.csv
- 02_table.rds
- figures
- products
- manuscript
- manuscript.docx
- manuscript.html
- manuscript.pdf
- manuscript.qmd
- report
- report.html
- report.qmd
- slides
- slides.html
- slides.qmd
- manuscript
- .gitignore
- README.md
- project-template.Rproj