Skip to contents

Returns the range of school years for which enrollment data is available from the Arkansas Department of Education.

Usage

get_available_years()

Value

A list with the following elements:

min_year

The earliest available school year end (e.g., 2006 for 2005-06)

max_year

The latest available school year end (e.g., 2024 for 2023-24)

available_years

Integer vector of all years with data URLs

gap_years

Integer vector of years without data URLs (2007-2012)

description

Human-readable description of data availability

Examples

get_available_years()
#> $min_year
#> [1] 2005
#> 
#> $max_year
#> [1] 2026
#> 
#> $available_years
#>  [1] 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019
#> [16] 2020 2021 2022 2023 2024 2025 2026
#> 
#> $asr_years
#>  [1] 2006 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024
#> 
#> $ade_years
#>  [1] 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019
#> [16] 2020 2021 2022 2023 2024 2025 2026
#> 
#> $gap_years
#> integer(0)
#> 
#> $description
#> [1] "Arkansas enrollment data is available from 2004-05 (end_year 2005) through 2025-26 (end_year 2026). Years 2006 and 2013-2024 use Annual Statistical Reports (fiscal/ADA data). All years 2005-2026 are available via the ADE Data Center (enrollment by race/ethnicity at the district level). When ASR data is not available, the ADE Data Center is used as a fallback."
#> 
# Returns list with available years and description