Convenience function to download and combine all available 6-year
graduation rate data into a single data frame.
Usage
fetch_all_6yr_grad_rate(level = "school", allow_partial = FALSE)
Arguments
- level
One of "school", "district", or "both". "both" combines
school and district data. Default is "school".
- allow_partial
If `FALSE` (default), any failed year/level aborts the
request. If `TRUE`, successful requests are returned with status available
from [get_source_results()].
Value
A data frame with all 6-year graduation rate results (2021-2025)
Examples
if (FALSE) { # \dontrun{
# Get all school-level 6-year graduation data
all_grad6 <- fetch_all_6yr_grad_rate()
# Get both school and district data
all_grad6_both <- fetch_all_6yr_grad_rate(level = "both")
} # }