Skip to contents

Returns an integer vector with years for which ANS data are available.

Usage

ans_years(type = "beneficiaries")

Arguments

type

Character. Type of data. One of:

  • "beneficiaries": Consolidated beneficiary counts (default).

  • "complaints": Consumer complaints (NIP).

  • "financial": Financial statements.

Value

An integer vector of available years.

Examples

ans_years()
#> [1] 2019 2020 2021 2022 2023 2024 2025
ans_years(type = "complaints")
#>  [1] 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025
#> [16] 2026
ans_years(type = "financial")
#>  [1] 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021
#> [16] 2022 2023 2024 2025