Fetch Wisconsin High School Graduation Rate Data
Source:R/graduation-functions.R
fetch_graduation.RdDownloads and returns Wisconsin DPI high school graduation rate data. Data includes cohort counts, graduate counts, and graduation rates for all schools, districts, and the statewide total.
Examples
if (FALSE) { # \dontrun{
# Get 2024 graduation rates (2023-24 school year)
grad_2024 <- fetch_graduation(2024)
# Get multiple years
library(purrr)
grad_multi <- map_dfr(2020:2024, ~fetch_graduation(.x))
# Get 5-year graduation rate instead of 4-year
grad_5yr <- fetch_graduation(2024, timeframe = "5-Year rate")
# Get raw format (closer to source)
grad_raw <- fetch_graduation(2024, tidy = FALSE)
} # }