| read_state | R Documentation |
Brazilian states
read_state(
year = NULL,
code_state = "all",
simplified = TRUE,
output = "sf",
showProgress = TRUE,
cache = TRUE,
verbose = TRUE
)
year |
Numeric. Year of the data in YYYY format. It defaults to |
code_state |
The two-digit code of a state or a two-letter uppercase
abbreviation (e.g. 33 or "RJ"). If |
simplified |
Logic |
output |
String. Type of object returned by the function. Defaults to
|
showProgress |
Logical. Defaults to |
cache |
Logical. Whether the function should read the data cached
locally, which is faster. Defaults to |
verbose |
A logical. If |
An "sf" "data.frame" OR an ArrowObject
# Read all states at a given year
ufs <- read_state(code_state="all", year = 2025)
# Read specific state at a given year
uf <- read_state(code_state="SC", year = 2025)
# Read specific state at a given year
uf <- read_state(code_state=12, year = 2025)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.