| process_sia | R Documentation |
Recodes supported fields from SIA individual outpatient-production records
("SIA-PA") into descriptive values and normalizes escaped Unicode text.
Lookup joins can add procedure, occupation, team, and municipality
descriptions.
process_sia(
data,
information_system = "SIA-PA",
nome_proced = TRUE,
nome_ocupacao = TRUE,
nome_equipe = TRUE,
municipality_data = TRUE
)
data |
A data frame returned by |
information_system |
A single character string. Currently only
|
nome_proced |
Logical scalar. If |
nome_ocupacao |
Logical scalar. If |
nome_equipe |
Logical scalar retained for API compatibility. Team
descriptions are currently joined whenever |
municipality_data |
Logical scalar. If |
Columns not explicitly recoded are retained, but Unicode normalization is
applied to every column and consequently the returned tibble contains
character columns. Other SIA layouts downloadable with fetch_datasus() are
not currently supported by this processing function.
A tibble with character columns. Supported codes are replaced with descriptions, and requested lookup fields are added where applicable.
Saldanha, R. F. (2026). SIA – Sistema de Informações Ambulatoriais do SUS.
fetch_datasus(), fetch_sigtab()
process_sia(sia_pa_sample, nome_proced = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.