| datasus_territorios | R Documentation |
Returns the package's offline territorial reference. The municipality table is generated from the official IBGE Localities API and contains current municipality, state, macroregion, immediate/intermediate region and legacy micro/mesoregion codes and names.
datasus_territorios(nivel = c("municipio", "uf", "regiao"), uf = NULL)
nivel |
Territorial level: '"municipio"', '"uf"' or '"regiao"'. |
uf |
Optional state selector. It accepts a two-digit IBGE code, state abbreviation or full state name. It is available for municipality and state results. |
A data frame. Source and extraction metadata are available through [datasus_proveniencia()].
datasus_territorios("regiao")
datasus_territorios("uf")
head(datasus_territorios("municipio", uf = "MS"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.