Downloads the 4-year cohort graduation rate Excel file from PDE.
Returns a list with state, LEA (district), and school data.
Usage
get_raw_graduation(end_year, cache_dir = NULL)
Arguments
- end_year
Academic year end (e.g., 2024 for 2023-24 school year)
- cache_dir
Directory to cache downloaded files (uses package cache if NULL)
Value
List with state, lea, and school data frames from Excel sheets
Examples
if (FALSE) { # \dontrun{
# Get raw 2024 graduation data
raw <- get_raw_graduation(2024)
# View LEA (district) data
names(raw$lea)
head(raw$lea)
} # }