Author: hrbrmstr
Everything written by hrbrmstr.
Using the new 'viridis' colormap in R (thanks to Simon Garnier)
Nathaniel Smith and Stéfan van der Walt presented a new colormap (for Python) at SciPy 2015 called viridis…
R Package to access the Open Movie Database (OMDB) API
It's not on CRAN yet, but there's a devtools -installable R package for getting data from the OMDB API…
Faceted "World Population by Income" Choropleths in ggplot
Poynter did a nice interactive piece on world population by income (i.e. "How Many Live on How Much, and Where" ). I'm always on the lookout for optimized shapefiles and clean data (I'm teaching a data science certificate program starting…
Two pending features to metricsgraphics
I've been slowly prodding the metricsgraphics package towards a 1.0.0 release, but there are some rough edges that still need sorting out. One of them is the ability to handle passing in variables for the x & y accessor values (you can…
Get by with a little (R) help from your friends (at GitHub)
@JennyBryan posted her slides from the 2015 R Summit and they are a must-read for instructors and even general stats/R-folk. She's one of the foremost experts in R+GitHub and her personal and class workflows provide solid patterns worth…
DO Something Nifffty with R
@briandconnelly (of pushoverr fame) made a super-cool post about connecting R to @IFTTT via IFTTT's "Maker" channel. The IFTTT Maker interface to receive events is fairly straightforward and Brian's code worked flawlessly, so it was easy…
metricsgraphics 0.8.5 is now on CRAN!
I'm super-pleased to announce that the Benevolent CRAN Overlords accepted the metricsgraphics package into CRAN over the weekend. Now, you no longer need to rely on github/devtools to use MetricsGraphics.js charts from your R scripts. If…
Animated US Hexbin Map of the Avian Flu Outbreak
The recent announcement of the start of egg rationing in the U.S. made me curious enough about the avian flu outbreak to try to dig into the numbers a bit. I finally stumbled upon a USDA site that had an embedded HTML table of flock…
A quick, incomplete comparison of ggplot2 & rbokeh plotting idioms
I set aside a small bit of time to give rbokeh a try and figured I'd share a small bit of code that shows how to make the "same" chart in both ggplot2 and…
Scraping jQuery DataTable Programmatic JSON with R
School of Data had a recent post how to copy "every item" from a multi-page list. While their post did provide a neat hack, their "words of warning" are definitely missing some items and the overall methodology can be improved upon with…