Skip to content

kaderrsami/r-101-grade-analysis

Β 
Β 

Repository files navigation

πŸ“Š Grade Analysis Lab

Author: Sami Kader-Yettefti
Repository: r-101-grade-analysis

The goal of this lab is to analyze a real-world collection of grades obtained by students during a semester. The analysis explores performance patterns, attendance issues, and correlations using R and data visualization.


πŸ“ About the Project

This lab is part of a course assignment focused on data exploration and visualization in R. It answers a series of structured questions using a dataset of student grades and groups.


πŸ“‚ Repository Contents

  • grades.csv β€” Dataset containing student IDs, group info, and grades.
  • lab.qmd or lab.Rmd β€” Source document with all code and analysis.
  • output.html β€” Rendered version of the lab with plots and tables.
  • README.md β€” Project overview and instructions.

🧰 Tools & Packages

  • R and RStudio
  • tidyverse: For data manipulation and plotting
  • vroom: Fast CSV import
  • here: File path management
  • knitr: Nicely formatted tables
  • stringr: String utilities
  • quarto or rmarkdown: Reproducible report generation

▢️ Getting Started

1. Clone the Repository

git clone https://github.com/kaderrsami/r-101-grade-analysis
cd r-101-grade-analysis
  1. Open in RStudio Open the .Rproj file for a project-scoped environment.

  2. Install Dependencies install.packages(c("vroom", "ggplot2", "dplyr", "tidyr", "knitr", "stringr", "here"))

  3. Run or Render the Lab Report quarto::quarto_render("lab.qmd") # for Quarto

or

rmarkdown::render("lab.Rmd") # for R Markdown

πŸ” Analysis Overview

Question Focus
Q1 Load data
Q2–3 Summary stats + missing exam grades
Q4 Distribution of exam grades
Q5–6 Student count per group
Q7 Grade distribution by group (bar and boxplot)
Q8–9 Exam attendance per group
Q10–12 Missing grades per student
Q13–17 Missing MCQ analysis
Q18 Correlation between MCQ attendance and exam performance

πŸ“Š Sample Visualizations Includes:

Bar plots

Histograms

Box plots

Faceted charts

Dual-axis comparisons

All charts are made with ggplot2 and dynamically generated from the dataset.

πŸ“ License & Contributions This lab is a personal academic project. If you find ways to improve the analysis, feel free to fork the repo and submit a pull request.

πŸ“Œ Note You can view the rendered HTML file locally or host it on GitHub Pages if desired.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%