Learn R Programming

healthbR (version 0.2.0)

sim_years: List Available SIM Years

Description

Returns an integer vector with years for which mortality microdata are available from DATASUS FTP.

Usage

sim_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 sim: sim_cache_status(), sim_clear_cache(), sim_data(), sim_dictionary(), sim_info(), sim_variables()

Examples

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

Run the code above in your browser using DataLab