This is a template for a data analysis repository in R. The folder structure is designed to group scripts according to their use.
This folder contains the data, organized into sub-folders by file type:
- CSV: Contains CSV files.
- Excel: Contains Excel files.
- R-Workspaces: Contains R workspace files.
- Processed: Contains RData files with results of models, table objects, and other outputs used in Quarto documents to generate final reports.
These are the executable files, grouped into subcategories:
- Imports the data and formats it for R. This section uses the tidyverse to process data for further analysis.
- Loads the data and creates subframes/workspaces to facilitate easier data handling.
- Utilizes processed workspaces or data to generate summary statistics and models.
- QMD: Contains necessary QMD files to create a PDF output of the results. A template PDF file is included, utilizing the LaTeX Eisvogel template.
- Images: Contains scripts for exporting figures in formats such as SVG and PNG.
This section contains:
- Images Folder: For exported images.
- Documents Folder: For output documents (e.g., PDFs).