Category Archives for Blog

New release: Choroplethr v3.2.0

Today I am happy to announce that a new version of choroplethr, v3.2.0, is now available. You can get it by typing the following from an R console: install.packages(“choroplethr”) Note that it sometimes takes a few days for new packages to get copied to each CRAN mirror. If install.packages(“choroplethr”) only gets you version 3.1.0, please try again tomorrow. […]

Continue reading

How to Remove State Abbreviations from a Choroplethr Map

Today I will demonstrate how to remove state abbreviations from a choroplethr map. I will also demonstrate how to combine multiple maps into a single image. This is what the final image looks like: In this case the abbreviations obscure information for the northeast part of the country, so it’s useful to remove them. Step […]

Continue reading

Mapping Historic US Presidential Election Results

Today I will demonstrate how to map historic US Presidential Election results in R. If you want to skip ahead and play with a shiny app that lets you visualize this dataset, then click here. The dataset we will use comes from wikipedia’s List of United States presidential election results by state and is packaged in the choroplethr […]

Continue reading

Tutorial Recap: Make a Census Explorer with Shiny

On July 28 I had the pleasure of leading a tutorial titled Make a Census Explorer with Shiny! at the San Francisco R-ladies Meetup. A big thank you to Gabriela de Queiroz for organizing the event, Sharethrough for hosting it, and all the participants for attending. If you are interested in seeing the slides, you […]

Continue reading

Administrative Maps and Projections in R

Today I will demonstrate how to create maps of “other countries”, and use map projections, with the choroplethr package in R. I write “other countries” in quotes because, like most things, translating a high level wish into software can be complicated. If you want to skip ahead and play with a web app that lets you explore […]

Continue reading