Calculates the combined proficiency rate (students scoring proficient or advanced) for each row or group in the assessment data.
Examples
if (FALSE) { # \dontrun{
tidy_data <- fetch_assessment(2024)
# Overall proficiency by state/district/school
calc_proficiency(tidy_data)
# Proficiency by subject
calc_proficiency(tidy_data, subject)
} # }