Skip to content

Documentation for GRC Members

This is the documentation for GRC members working on the data analysis part of the project. It contains information on the best practices for version control, data analysis, and other useful tips.

Project Layout

.
├── config              # Configuration files
│
├── data                
│   ├── cleaned         # Cleaned output
│   ├── google          # Google Form API output (JSON)
│   ├── misc            # Miscellaneous data
│   └── raw             # Unprocessed data
│
├── docs                # Documentation
├── figures             # Figures for Final Report
│
├── src             
│   ├── api             # Code for interacting with APIs (i.e. Google Forms)
│   ├── models          # Schema definitions
│   ├── notebooks       # Jupyter notebooks
│   ├── R               # R scripts
│   ├── services        # Business logic
│   └── utils           # Utility functions
│
├── tests               # Unit tests
├── mkdocs.yml          # MkDocs configuration
├── poetry.lock         # Poetry lock file
├── pyproject.toml      # Poetry project file
└── README.md           # Project README

Getting Started

Prerequisites

Ensure you have Python 3.12 installed on your machine. You can download it from the official website.

Installation

  1. Clone the repository
git clone https://github.com/UofT-FoM-GRC/Data_Analysis.git
cd Data_Analysis
  1. Install the dependencies
poetry install
  1. Activate the virtual environment
poetry shell

VSCode Extensions

Previewing these docs

These docs are built using MkDocs. To preview these docs locally, you will need to install MkDocs and the Material theme.

Commands

  • mkdocs new [dir-name] - Create a new project.
  • mkdocs serve - Start the live-reloading docs server.
  • mkdocs build - Build the documentation site.
  • mkdocs -h - Print help message and exit.