rud.is
Latest posts from rud.is
New R Package – ipapi (IP/Domain Geolocation)
I noticed that the @rOpenSci folks had an interface to ip-api.com on their ToDo list so I whipped up a small R package to fill said gap. Their IP Geolocation…
Introducing the streamgraph htmlwidget R Package
We were looking for a different type of visualization for a project at work this past week and my thoughts immediately gravitated towards streamgraphs. The TLDR on streamgraphs is they…
SweetheaRstats
I felt compelled to dust off my 2013 Valentine’s Day #rstats post and make it all Shiny and new again. I used the same math from that post, but made…
A Step to the Right in R Assignments
I received an out-of-band question on the use of %<>% in my CDC FluView post, and took the opportunity to address it in a broader, public fashion. Anyone using R…
New release (0.7) of metricsgraphics htmlwidget — grids & rollovers
I’ve updated my metricsgraphics package to version 0.7. The core MetricsGraphics JavaScript library has been updated to version 2.1.0 (from 1.1.0). Two blog-worthy features since releasing version 0.5 are mjs_grid…
NASA GISS’s Annual Global Temperature Anomaly Trends (dplyr/ggplot version)
D Kelly O’Day did a great post on charting NASA’s Goddard Institute for Space Studies (GISS) temperature anomaly data, but it sticks with base R for data munging & plotting.…
New R Package: cdcfluview — Retrieve Flu Data from CDC’s FluView Portal
NOTE If there’s a particular data set from http://www.cdc.gov/flu/weekly/fluviewinteractive.htm that you want and that isn’t in the pacakge, please file it as an issue and be as specific as you…
New R Package: metricsgraphics
Mozilla released the MetricsGraphics.js library back in November of 2014 (gh repo) and was greeted with great fanfare. It’s primary focus is on crisp, clean layouts for interactive time-series data,…
Making Static & Interactive Maps With ggvis (+ using ggvis maps w/shiny)
Even though it’s still at version 0.4, the ggvis package has quite a bit of functionality and is highly useful for exploratory data analysis (EDA). I wanted to see how…
Power Outage Impact Choropleths In 5 Steps in R (featuring rvest & RStudio “Projects”)
I and @awpiii were trading news about the power outages in Maine & New Hampshire last night and he tweeted the link to the @PSNH Outage Map. As if the…
Visualizing Historical & Most-likely First Snowfall Dates for U.S. Regions
UPDATE: You can now run this as a local Shiny app by entering shiny::runGist("95ec24c1b0cb433a76a5", launch.browser=TRUE) at an R prompt (provided all the dependent libraries (below) are installed) or use it…
Moving The Earth (well, Alaska & Hawaii) With R
In a previous post we looked at how to use D3 TopoJSON files with R and make some very D3-esque maps. I mentioned that one thing missing was moving Alaska…
Spending Seized Assets – A State-by-State Per-capita Comparison in R
The Washingon Post did another great story+vis, this time on states Spending seized assets. According to their sub-head: Since 2008, about 5,400 police agencies have spent $2.5 billion in proceeds…
Plot Me Like a Hurricane (a.k.a. animating historical North Atlantic basin tropical storm tracks)
Markus Gessman (@MarkusGesmann) did a beautiful job Visualising the seasonality of Atlantic windstorms using small multiples, which was inspired by both a post by Arthur Charpentier (@freakonometrics) on using Markov…
Blast From The Past Also Reveals A Bit Of (US) Postal HIstory
I saw a re-tweet for this “Man From Mars Radio Hat” advertisement and—while it’s awesome as a bit of nostalgia on it’s own—it also reveals a bit about our (US)…
Overcoming D3 Cartographic Envy With R + ggplot
When I used one of the Scotland TopoJSON files for a recent post, it really hit me just how much D3 cartography envy I had/have as an R user. Don’t…
Seeing the (day)light with R
The arrival of the autumnal equinox foreshadows the reality of longer nights and shorter days here in the northeast US. We can both see that reality and distract ourselves from…
Charting/Mapping the Scottish Vote with R (an rvest/dplyr/tidyr/TopoJSON/ggplot tutorial)
The BBC did a pretty good job live tracking the Scotland secession vote, but I really didn’t like the color scheme they chose and decided to use the final tally…
An Alfred (OS X) Workflow for Weather Underground Personal Weather Station (PWS) Data
I’ve operated a Weather Underground Personal Weather Station (PWS) [KMEBERWI7] off-and-on (hardware issues notwithstanding) for as long as I can remember, and I thought it was about time to finally…
R version of “An exploratory technique for visualizing the distributions of 100 variables:”
Rick Wicklin (@RickWicklin) made a recent post to the SAS blog on An exploratory technique for visualizing the distributions of 100 variables. It’s a very succinct tutorial on both the…

