process_cnes | R Documentation |
process_cnes
processes CNES variables retrieved by fetch_datasus()
.
process_cnes(
data,
information_system = c("CNES-ST", "CNES-PF"),
nomes = TRUE,
municipality_data = TRUE
)
data |
|
information_system |
|
nomes |
optional logical. |
municipality_data |
optional logical. |
This function processes CNES-ST (Estabelecimentos) or CNES-PF (Pessoa f\u00edsica) variables retrieved by fetch_datasus()
, informing labels for categoric variables including NA values.
## Not run:
df <- fetch_datasus(year_start = 2015, month_start = 1,
year_end = 2015, month_end = 1,
uf = "RJ",
information_system = "CNES-ST")
df_a <- process_cnes(df, information_system = "CNES-ST")
df_b <- process_cnes(df, information_system = "CNES-ST", nomes = FALSE, municipality_data = FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.