Queries the API to find which school years have data available.
Returns the range of years available from Delaware's Open Data Portal.
Data is available from the 2014-15 school year (end_year = 2015)
through 2023-24 (end_year = 2024).
Usage
get_available_years()
get_available_years()
Value
Vector of available school years
A list with components:
- min_year
Integer. The earliest available year (2015).
- max_year
Integer. The most recent available year (2024).
- description
Character. A description of the data availability.
Examples
get_available_years()
#> $min_year
#> [1] 2015
#>
#> $max_year
#> [1] 2024
#>
#> $description
#> [1] "Delaware Open Data Portal enrollment data (2014-15 through 2023-24 school years)"
#>
# Returns list(min_year = 2015, max_year = 2024, description = "...")