Ari Lamstein

A Tale of Two Bugs

Today I am happy to announce that a new version of choroplethr is now on CRAN. To get it type the following: [code lang=”r”] > install.packages("choroplethr") > packageVersion("choroplethr") [1] ‘3.5.2’ [/code] The new version is 3.5.2. This version fixes two fairly pernicious bugs that were introduced in the last update to choroplethr. For reference, he […]

Announcing the R Election Analysis Contest

Today I am happy to announce the R Election Analysis Contest. The goal of the contest is to encourage and promote high quality reproducible research in R that focuses on elections. The winner will be featured on my blog and receive a free copy of my course Mapmaking in R with Choroplethr as well as a […]

Mapping Election Results with R and Choroplethr

Today’s guest post is by R. Duncan McIntosh. Last week Duncan tweeted about using choroplethr to map the 2016 Florida primary election results. I’ve been wanting to analyze election results in R for some time, and asked Duncan to share with my readers how he did his analysis. This is his reply.  Election season is providing plenty […]

Margin of Error by Geography in the American Community Survey (ACS)

Today I will demonstrate how the margin of error in American Community Survey (ACS) estimates grow as the size of the geography decreases.  The final chart that we’ll create is this: The way I interpret the above chart is this: The ACS is very confident about its state-level estimates. It’s a bit less confident about county-level estimates. But […]

Mapping Birds with Choroplethr

After releasing my course Mapmaking in R with Choroplethr last December I received an interesting email from Dr. Herb Wilson, a biologist at Colby College. Herb studies the Red-breasted Nuthatch, which live throughout the United States and Canada. He asked if it was possible to use choroplethr to map the location of these birds. Herb’s data was […]