Learn R Programming

healthbR (version 0.2.0)

cnes_years: List Available CNES Years

Description

Returns an integer vector with years for which health facility registry data are available from DATASUS FTP.

Usage

cnes_years(status = "final")

Value

An integer vector of available years.

Arguments

status

Character. Filter by data status. One of:

  • "final": Definitive data only (default).

  • "preliminary": Preliminary data only.

  • "all": All available data (definitive + preliminary).

See Also

Other cnes: cnes_cache_status(), cnes_clear_cache(), cnes_data(), cnes_dictionary(), cnes_info(), cnes_variables()

Examples

Run this code
cnes_years()
cnes_years(status = "all")

Run the code above in your browser using DataLab