process_sia | R Documentation |
process_sia
processes SIA variables retrieved by fetch_datasus()
.
process_sia(
data,
information_system = "SIA-PA",
nome_proced = TRUE,
nome_ocupacao = TRUE,
nome_equipe = TRUE,
municipality_data = TRUE
)
data |
|
information_system |
string. The abbreviation of the health information system. See Details. |
nome_proced |
optional logical. |
nome_ocupacao |
optional logical. |
nome_equipe |
optional logical. |
municipality_data |
optional logical. |
This function processes SIA variables retrieved by fetch_datasus()
, informing labels for categoric variables including NA values.
Currently, only "SIA-PA" is supported.
## Not run:
df <- fetch_datasus(year_start = 2010, month_start = 1,
year_end = 2010, month_end = 1,
uf = "RJ",
information_system = "SIA-PA")
df_a <- process_sia(df)
df_b <- process_sia(df, municipality_data = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.