Learn R Programming

healthbR (version 0.2.0)

ans_years: List Available ANS Years

Description

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

Usage

ans_years(type = "beneficiaries")

Value

An integer vector of available years.

Arguments

type

Character. Type of data. One of:

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

  • "complaints": Consumer complaints (NIP).

  • "financial": Financial statements.

See Also

Other ans: ans_cache_status(), ans_clear_cache(), ans_data(), ans_info(), ans_operators(), ans_variables()

Examples

Run this code
ans_years()
ans_years(type = "complaints")
ans_years(type = "financial")

Run the code above in your browser using DataLab