Articles by hrbrmstr

Overcoming D3 Cartographic Envy With R + ggplot

September 25, 2014 | hrbrmstr

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 get me wrong, I can conjure up D3 maps pretty well [1] [2] and the utility of an interactive map ... [Read more...]

Seeing the (day)light with R

September 23, 2014 | hrbrmstr

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 it at the same time by firing up RStudio (or your favorite editor) and taking a look at the sunrise & ...
[Read more...]

Rforecastio Package Update (1.1.0)

May 4, 2014 | hrbrmstr

I’ve bumped up the version number of Rforecastio (github) to 1.1.0. The new features are: removing the SSL certificate bypass check (it doesn’t need it anymore) using plyr for easier conversion of JSON-__data frame adding in a new daily forecast data frame roxygen2 inline documentation library(Rforecastio) library(...
[Read more...]

Moving From system() calls to Rcpp Interfaces

April 23, 2014 | hrbrmstr

Over on the Data Driven Security Blog there’s a post on how to use Rcpp to interface with an external library (in this case ldns for DNS lookups). It builds on another post which uses system() to make a call to dig to lookup DNS TXT records. The core ... [Read more...]

Mapping the March 2014 California Earthquake with ggmap

April 1, 2014 | hrbrmstr

I had no intention to blog this, but @jayjacobs convinced me otherwise. I was curious about the recent (end of March, 2014) California earthquake “storm” and did a quick plot for “fun” and personal use using ggmap/ggplot. I used data from the Southern California Earthquake Center (that I cleaned up ... [Read more...]

Guardian Words: Visualized

March 15, 2014 | hrbrmstr

Andy Kirk (@visualisingdata) & Lynn Cherny (@arnicas) tweeted about the Guardian Word Count service/archive site, lamenting the lack of visualizations: Want to know num of words written in each day's Guardian paper by section + approx reading time? http://t.co/wP4W1EzUsx via @bengoldacre— Andy Kirk (@visualisingdata) March 15, 2014 This ... [Read more...]

Points, Polygons and Power Outages

December 27, 2013 | hrbrmstr

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 ...
[Read more...]

Mapping Power Outages in Maine Dynamically with Shiny/R

November 27, 2013 | hrbrmstr

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 ... [Read more...]

Mapping Power Outages In Maine With R

November 27, 2013 | hrbrmstr

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 ...
[Read more...]

Alternative to Grouped Bar Charts in R

October 27, 2013 | hrbrmstr

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 | hrbrmstr

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 ...
[Read more...]

Animated IRL Pirate Attacks In R

September 19, 2013 | hrbrmstr

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 ... [Read more...]
1 19 20 21 22 23

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)