Blog Archives

Coloring (and Drawing) Outside the Lines in ggplot

August 27, 2015
By
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

Read more »

New Pacakge “docxtractr” – Easily Extract Tables From Microsoft Word Docs

August 24, 2015
By
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

Read more »

Using R To Get Data *Out Of* Word Docs

August 23, 2015
By
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

Read more »

Doh! I Could Have Had Just Used V8!

August 21, 2015
By

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

Read more »

Track Hurricane Danny (Interactively) with R + leaflet

August 20, 2015
By
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

Read more »

cdcfluview – On The Way to “CRAN 7K”

August 9, 2015
By

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

Read more »

Adding a CRAN Search Engine to Chrome

August 7, 2015
By

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” put

Read more »

Speeding Up Your Quest(s) For “R Stuff”

August 5, 2015
By
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

Read more »

Achieve Charting Zen With TauCharts

August 4, 2015
By

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 about

Read more »

Two New R Packages – qrencoder & passwordrandom

August 2, 2015
By
Two New R Packages – qrencoder & passwordrandom

Believe it or not, there are two questions on @StackOverflowR about how to make QR codes in R. I personally think QR codes are kinda hokey, but who am I to argue with pressing needs of the #rstats community? I found libqrencode and it’s highly brew-able and apt-able (probably yum-able, too, if you

Read more »