Blog Archives

Points, Polygons and Power Outages

December 27, 2013
By
Points, Polygons and Power Outages

Most of my free coding time has been spent tweaking a D3-based live power outage tracker for Central Maine Power customers (there’s also a woefully less-featured Shiny app for it, too). There is some R associated with the D3 vis, but it’s limited to a cron job that’s makes the CSV files for the sparklines

Read more »

Mapping Power Outages in Maine Dynamically with Shiny/R

November 27, 2013
By

I decided to forego the D3 map mentioned in the previous post in favor of a Shiny one since I had 90% of the mapping code written. I binned the ranges into three groups, changed the color over to something more pleasant (with RColorBrewer), added an interactive table for the counties with outage and have

Read more »

Mapping Power Outages In Maine With R

November 27, 2013
By
Mapping Power Outages In Maine With R

UPDATE: A Shiny (dynamic) version of this is now available. We had yet-another power outage this morning due to the weird weather patterns of the week and it was the final catalyst I needed to crank out some R code to map the affected counties. Central Maine Power provides an outage portal where folks can

Read more »

Alternative to Grouped Bar Charts in R

October 27, 2013
By
Alternative to Grouped Bar Charts in R

The #spiffy @dseverski gave me this posit the other day: Hey, @hrbrmstr, doughnut chart aside, how would you approach the first graph at http://t.co/zjHoHRVOeo? Bump chart? Trend line? Leave as is?— David F. Severski (@dseverski) October 25, 2013 and, I...

Read more »

Visualizing “ObamaCare-related” Job Cuts

September 28, 2013
By
Visualizing “ObamaCare-related” Job Cuts

I was reviewing RSS feeds when I came across this story about “ObamaCare Employer Mandate: A List Of Cuts To Work Hours, Jobs” over on Investors.com. Efficacy of the law notwithstanding, I thought it might be interesting to visualize the data since the folks over at Investors.com provided a handy spreadsheet that they seem to

Read more »

Animated IRL Pirate Attacks In R

September 19, 2013
By
Animated IRL Pirate Attacks In R

Avast me hearRties! (ok, enough of the pirate speak in a blog post) It wouldn’t be TLAPD without out some modest code & idea pilfering from Mark Bulling & Simon Raper. While those mateys did a fine job hoisting up some R code (your really didn’t think I’d stop with the pirate speak, did you?)

Read more »

Send Mac OS Notifications From RStudio *Server*! (via Growl)

September 14, 2013
By
Send Mac OS Notifications From RStudio *Server*! (via Growl)

Having received a couple follow-ups to the OS X notifications on RStudio Desktop for the Mac post, I was determined to find a quick hack to get remote notifications to OS X working from (at least) RStudio Server instances running on the same network. It turns out the hack was pretty straightforward just by using

Read more »

Send Mac OS Notifications From R

September 12, 2013
By
Send Mac OS Notifications From R

The data retrieval and computation operations are taking longer and longer as we start cranking through more security data and I’ll often let tasks run in the background whilst performing more mundane tasks or wasting time on Twitter. For folks using RStudio Desktop on a Mac, you can use the #spiffy terminal-notifier from Julien Blanchard

Read more »

Rforecastio – Simple R Package To Access forecast.io Weather Data

September 8, 2013
By
Rforecastio – Simple R Package To Access forecast.io Weather Data

It doesn’t get much better for me than when I can combine R and weather data in new ways. I’ve got something brewing with my Nest thermostat and needed to get some current wx readings plus forecast data. I could have chosen a number of different sources or API’s but I wanted to play with

Read more »

Use Fluid On MacOS To Build Per-RStudio Server “Dedicated” Clients

August 25, 2013
By
Use Fluid On MacOS To Build Per-RStudio Server “Dedicated” Clients

I’m jumping around analytics environments these days and have to leave the comfort of my Mac’s RStudio Desktop application to use various RStudio Server instances via browser. While I prefer to use Chrome, the need to have a “dedicated” RStudio Server client outweighs the utility of my favorite browser. This is where Fluid (@FluidApp by

Read more »