Brazilian Maps from Different Geographic Levels

Obtain Brazilian map spatial objects of varying region types (e.g. cities, states, microregions, mesoregions). Convenience functions for plotting choropleths and working with the geographic codes are also provided.


brazilmaps

The goal of brazilmaps is to provide Brazilian map spatial objects of varying region types (e.g. cities, states, microregions, mesoregions).

Installation

Install the release version from CRAN:

install.packages("brazilmaps")

or the development version from github

devtools::install_github("rpradosiqueira/brazilmaps")

Example

Let's assume that we want to plot the brazilian municipalities of the Midwest Region. To do this simply execute:

library(brazilmaps)
 
# Get de map
midwest_cities <- get_brmap(geo = "City",
                            geo.filter = list(Region = 5))
 
# Plot
plot_brmap(midwest_cities)

I'm preparing a vignette with more examples that will come soon.

News

brazilmaps 0.1.0

  • Initial version.

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("brazilmaps")

0.1.0 by Renato Prado Siqueira, a year ago


http://github.com/rpradosiqueira/brazilmaps


Report a bug at http://github.com/rpradosiqueira/brazilmaps/issues


Browse source code at https://github.com/cran/brazilmaps


Authors: Renato Prado Siqueira [aut, cre]


Documentation:   PDF Manual  


GPL-3 license


Imports dplyr, ggplot2, magrittr, methods, sf, sp

Suggests knitr


See at CRAN