get_cities | R Documentation |
get_cities()
extracts data about cities covered by Fogo Cruzado's
project, from its API (https://api.fogocruzado.org.br/). The function
returns a data.frame
where each observation corresponds to a city.
get_cities()
A data.frame
with the following variables:
CidadeId: internal id number of the city where the occurrence happened.
EstadoId: internal id number of the state where the occurrence happened.
Cidade: city's name.
CodigoIBGE: IBGE's (Brazilian Institute of Geography and Statistics) code for the city where the occurrence happened.
Gentilico: city's gentilic.
Populacao: city's population.
Area: city's area.
DensidadeDemografica: city's population density.
PIBPrecoCorrente: city's gross domestic product.
get_fogocruzado
fogocruzado_signin
# returns a data.frame with all cities contained in the data repository
## Not run:
cities <- get_cities()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.