calc_gpa: Calculate Student GPA for a Given Year

Description Usage Arguments Examples

View source: R/calc_gpa.R

Description

Calculates a student's GPA (and the number of classes contributing to GPA) for a given year.

Usage

1
calc_gpa(..., include_school = TRUE, type = c("weighted", "unweighted"))

Arguments

...

year to be passed to the fetch_grades function

include_school

logical. if TRUE, will include the student's school in the output

type

type of gpa ("weighted" or "unweighted") to calculate

Examples

1
2
3
4
## Not run: 
calc_gpa(2018, include_school = TRUE, type = "weighted")

## End(Not run)

ekholme-ccps/ccpsr documentation built on Aug. 17, 2021, 10:01 p.m.