Skip to contents

Returns the range of years available from different SC data sources.

Usage

get_available_years(source = "headcounts")

Arguments

source

Which data source: "headcounts" (default) for Active Student Headcounts (2013-2024), or "reportcards" for SC Report Cards (2018-2024).

Value

Integer vector of available years (end_year format, e.g., 2024 for 2023-24)

Examples

get_available_years()
#>  [1] 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
get_available_years("headcounts")
#>  [1] 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026
get_available_years("reportcards")
#> [1] 2018 2019 2020 2021 2022 2023 2024 2025