Blog Archives

Concentration of Senate Representation

July 13, 2018
By
Concentration of Senate Representation

Recently saw this tweet I want to repeat a statistic I use in every talk: by 2040 or so, 70 percent of Americans will live in 15 states. Meaning 30 percent will choose 70 senators. And the 30% will be older, whiter, more rural, more male than the 70 percent. Unsettling to say the least https://t.co/EGPD5nE4qG— Norman Ornstein (@NormOrnstein)...

Read more »

Uncovering the relationships among functions in a package

March 2, 2018
By

I maintain a few internal R packages that we have at work. Recently, and perhaps foolishly, I decided that I needed to totally refactor one of them to add some more bells and whistles. A substantial part of this task involved simplifying the internal workflow of the package. I needed to be sure not to omit any of the...

Read more »

Using R to Create Google Maps

February 8, 2018
By
Using R to Create Google Maps

Google maps are a great way to share maps that users can interact with and customize for their own purposes. The RgoogleMaps (Loecher and Ropkins 2015) and ggmap (Kahle and Wickham 2013) packages are great tools to download static map queries from Google maps and plot over them. There are some helpful tutorials on using ggmap here and a...

Read more »

Search R-bloggers

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)