View source: R/read_capitals.R
read_capitals | R Documentation |
This function downloads either a spatial sf
object with the location of the
municipal seats (sede dos municipios) of state capitals, or a data.frame
with the names and codes of state capitals. Data downloaded for the latest
available year.
read_capitals(as_sf = TRUE, showProgress = TRUE)
as_sf |
Logic |
showProgress |
Logical. Defaults to |
An "sf" "data.frame"
object or a "data.frame"
Other area functions:
read_amazon()
,
read_biomes()
,
read_comparable_areas()
,
read_country()
,
read_disaster_risk_area()
,
read_health_facilities()
,
read_health_region()
,
read_immediate_region()
,
read_indigenous_land()
,
read_intermediate_region()
,
read_meso_region()
,
read_metro_area()
,
read_micro_region()
,
read_municipal_seat()
,
read_municipality()
,
read_neighborhood()
,
read_pop_arrangements()
,
read_region()
,
read_schools()
,
read_semiarid()
,
read_state()
,
read_statistical_grid()
,
read_urban_area()
,
read_urban_concentrations()
,
read_weighting_area()
# Read spatial data with the municipal seats of state capitals
capitals_sf <- read_capitals(as_sf = TRUE)
# Read simple data.frame of state capitals
capitals_df <- read_capitals(as_sf = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.