Blog Archives

Craft httr calls cleverly with curlconverter

February 10, 2016
By
Craft httr calls cleverly with curlconverter

When you visit a site like the LA Times’ NH Primary Live Results site and wish you had the data that they used to make the tables & visualizations on the site: Sometimes it’s as simple as opening up your browsers “Developer Tools” console and looking for XHR (XML HTTP Requests) calls: You can actually

Read more »

Alternate R Markdown Templates

February 4, 2016
By

The knitr/R markdown system is a great way to organize reports and analyses. However, the built-in ones (that come with RStudio/the rmarkdown package) rely on Bootstrap and also use jQuery. There’s nothing wrong with that, but the generated standalone HTML documents (which are a great way to distribute reports) don’t really need all that cruft

Read more »

Cobble XPath Interactively with the xmlview Package

January 13, 2016
By
Cobble XPath Interactively with the xmlview Package

(If you don’t know what XML is, you should probably read a primer before reading this post,) When working with data, one inevitably comes across things encoded in XML. I’m in the “anti-XML” camp, but deal with my fair share of XML in “cyber” and help out enough people who have to work with XML

Read more »

The Force: Accounted, in R

January 9, 2016
By

Despite being a cybersecurity professional, it’s pretty easy to social engineer me: https://t.co/R3qVHEMTLo @hrbrmstr is there an R package? ;)— Thorsten G. (@SaThaRiel74) January 8, 2016 I’ll note that @jayjacobs does it all the time to me. I took Thorsten’s tweet as a challenge to ggplot2-ize the Bloomberg visualizations as best as possible. All the

Read more »

iptools 0.3.0 (“Violet Packet”) Now on CRAN with Windows Support!

January 8, 2016
By

iptools is a set of tools for working with IP addresses. Not just work, but work fast. It’s backed by Rcpp and now uses the AsioHeaders package by Dirk Eddelbuettel, which means it no longer needs to link against the monolithic Boost libraries and works on Windows! What can you do with it? One thing

Read more »

Zellingenach: A visual exploration of the spatial patterns in the endings of German town and village names in R

January 3, 2016
By
Zellingenach: A visual exploration of the spatial patterns in the endings of German town and village names in R

Moritz Stefaner started off 2016 with a very spiffy post on “a visual exploration of the spatial patterns in the endings of German town and village names”. Moritz was exploring some new data processing & visualization tools for the post, but when I saw what he was doing I wondered how hard it would be

Read more »

World Map Panel Plots with ggplot2 2.0 & ggalt

December 29, 2015
By
World Map Panel Plots with ggplot2 2.0 & ggalt

James Austin (@awhstin) made some #spiffy 4-panel maps with base R graphics but also posited he didn’t use ggplot2 because: …ggplot2 and maps currently do not support world maps at this point, which does not give us a great overall view. That is certainly a box I would not put ggplot2 into, especially with the

Read more »

Update to metricsgraphics 0.9.0 (now on CRAN)

December 21, 2015
By

It’s been a while since I’ve updated my metricsgraphics package. The hit list for changes includes: Fixes for the new ggplot2 release (metricsgraphics uses the movies data set which is now in ggplot2movies) Updated all javascript libraries to the most recent versions Borrowed the ability to add CSS rules to a widget from taucharts (mjs_add_css_rule)

Read more »

Fear of WaPo Using Bad Pie Charts Has Increased Since Last Year

December 13, 2015
By
Fear of WaPo Using Bad Pie Charts Has Increased Since Last Year

I woke up this morning to a headline story from the Washington Post on “Americans are twice as willing to distance Christian extremists from their religion as Muslims“. This post is not about the content of the headline or story. It is about the horrible pie chart WaPo led the article with: This isn’t just

Read more »

An OS X R Task Runner for—and a Mini-R-centric review of—Microsoft’s Visual Studio Code Editor

November 21, 2015
By

Microsoft’s newfound desire to make themselves desirable to the hipster development community has caused them to make many things open and/or free of late. One of these manifestations is Visual Studio Code, an Atom-ish editor for us code jockeys. I have friends at Microsoft and the Revolution R folks are there now, so I try

Read more »

Sponsors

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)