Publications by hrbrmstr
Achieve Charting Zen With TauCharts
There was some chatter on the twitters this week about a relatively new D3-based charting library called TauCharts (also @taucharts). The API looked pretty clean and robust, so I started working on an htmlwidget for it and was quickly joined by the Widget Master himself, @timelyportfolio. TauCharts definitely has a “grammar of graphics” feel...
1939 sym R (496 sym/4 pcs) 4 tbl
Speeding Up Your Quest(s) For “R Stuff”
I use Google quite a bit when conjuring up R projects, whether it be in a lazy pursuit of a PDF vignette or to find a package or function to fit a niche need. Inevitably, I’ll do something like this (yeah, I’m still on a mapping kick) and the first (and best) results will come back with https://cran.r-project.org/-prefixed URLs. If all this w...
2587 sym 4 img
Adding a CRAN Search Engine to Chrome
Riffing off of the previous post, here’s a way to quickly search CRAN (the @RStudio flavor) from the Chrome search bar. Paste chrome://settings/searchEngines into your location bar and hit return/enter Scroll down until the input boxes show, enabling you to add a search engine For “Add a new search engine” put “CRAN“ For “Keyword” ...
1074 sym R (184 sym/1 pcs) 1 tbl
cdcfluview – On The Way to “CRAN 7K”
I like to turn coincidence into convergence whenever possible. This weekend, a user of cdcfluview had a question that caused me to notice a difference in behaviour between the package was interacting with CDC FluView API, so I updated the package to accommodate the change and the user. Around the same time, @recology_ tweeted: we're at 6983 #rsta...
2020 sym
Track Hurricane Danny (Interactively) with R + leaflet
Danny became the first hurricane of the 2015 Season, so it’s a good time to revisit how one might be able to track them with R. We’ll pull track data from Unisys and just look at Danny, but it should be easy to extrapolate from the code. For this visualization, we’ll use leaflet since it’s all the rage and makes the plots interactive with...
2224 sym R (2752 sym/8 pcs) 2 img 8 tbl
Doh! I Could Have Had Just Used V8!
An R user recently had the need to split a “full, human name” into component parts to retrieve first & last names. The full names could be anything from something simple like “David Regan” to more complex & diverse such as “John Smith Jr.”, “Izaque Iuzuru Nagata” or “Christian Schmit de la Breli”. Despite the face that I’m p...
2995 sym R (2012 sym/3 pcs) 3 tbl
Using R To Get Data *Out Of* Word Docs
This was asked on twitter recently: Is it possible to import data entered in MS Word into R – I have multiple tables in 235 files that need importing #rstats— Richard Telford (@richardjtelford) August 23, 2015 The answer is a very cautious “yes”. Much depends on how well-formed and un-formatted the table is. Take this really simple docx ...
2117 sym R (4539 sym/4 pcs) 4 img 4 tbl
New Pacakge “docxtractr” – Easily Extract Tables From Microsoft Word Docs
This is more of a follow-up from yesterday’s post. The hack and function in said post was fine, but it was limited to uniform tables and made you do more work than you had to. So, there’s now a devtools-installable package on github that makes it way easier to get information about the tables in a Word document and extract them—uniform or n...
1436 sym R (1334 sym/1 pcs) 2 img 1 tbl
Coloring (and Drawing) Outside the Lines in ggplot
Time for another Twitter-inspired blog post this week, this time from a tweet by @JonKalodimos: Is there a way to do this in #rstats #ggplot2 https://t.co/kxWQFlYpbB— Jonathan Kalodimos (@JonKalodimos) August 27, 2015 I had seen and appreciated Ann’s post on her makeover of the main graphic in NPR’s story and did a quick mental check of ho...
3692 sym R (3643 sym/9 pcs) 8 img 9 tbl
Three New #rstats Twitter Bots To Follow
I engage with the Stack[Overflow|Exchange] community quite a bit and was super-happy @treycausey made the Stack Overflow #rstats bot (@StackOverflowR) since I’m also on Twitter alot (mostly hanging out in #rstats these days). However, #rstats questions exist in other Stack watering holes, like the Geographic Information Systems Stack Exchange....
2180 sym