Blog Archives

Exploring 2017 Retail Store Closings with R

March 19, 2017
By
Exploring 2017 Retail Store Closings with R

A story about one of the retail chains (J.C. Penny) releasing their list of stores closing in 2017 crossed paths with my Feedly reading list today and jogged my memory that there were a number of chains closing many of their doors this year, and I wanted to see the impact that might have on... Continue reading...

Read more »

Making a Case for case_when

March 10, 2017
By

This is a brief (and likely obvious, for some folks) post on the dplyr::case_when() function. Part of my work-work is dealing with data from internet scans. When we’re performing a deeper inspection of a particular internet protocol or service we try to capture as much system and service metadata as possible. Sifting through said metadata... Continue reading...

Read more »

On Watering Holes, Trust, Defensible Systems and Data Science Community Security

February 23, 2017
By
On Watering Holes, Trust, Defensible Systems and Data Science Community Security

I’ve been threatening to do a series on “data science community security” for a while and had cause to issue this inaugural post today. It all started with this: Hey #rstats folks: don't do this. Srsly. Don't do this. Pls. Will blog why. Just don't do this. https://t.co/qkem5ruEBi— boB Rudis (@hrbrmstr) February 23, 2017 Let... Continue reading...

Read more »

Putting It All Together

February 18, 2017
By
Putting It All Together

The kind folks over at @RStudio gave a nod to my recently CRAN-released epidata package in their January data package roundup and I thought it might be useful to give it one more showcase using the recent CRAN update to ggalt and the new hrbrthemes (github-only for now) packages. Labor force participation rate The U.S.... Continue reading...

Read more »

Spelunking XHRs (XMLHttpRequests) with splashr

February 14, 2017
By
Spelunking XHRs (XMLHttpRequests) with splashr

splashr has gained some new functionality since the introductory post. First, there’s a whole new Docker image for it that embeds a local web server. Why? The main request for it was to enable rendering of htmlwidgets: But if you use the new Docker image and the add_tempdir=TRUE parameter it can render any local HTML... Continue reading...

Read more »

Geom❤️

February 14, 2017
By
Geom❤️

Presented without exposition (since it’s a silly Geom) This particular ❤️ math pilfered this morning from @dmarcelinobr:

Read more »

ggalt 0.4.0 now on CRAN

February 11, 2017
By
ggalt 0.4.0 now on CRAN

I’m uncontainably excited to report that the ggplot2 extension package ggalt is now on CRAN. The absolute best part of this package is the R community members who contributed suggestions and new geoms, stats, annotations and integration features. This release would not be possible without the PRs from: Ben Bolker Ben Marwick Jan Schulz Carson... Continue reading...

Read more »

Diving Into Dynamic Website Content with splashr

February 9, 2017
By
Diving Into Dynamic Website Content with splashr

If you do enough web scraping, you’ll eventually hit a wall that the trusty httr verbs (that sit beneath rvest) cannot really overcome: dynamically created content (via javascript) on a site. If the site was nice enough to use XHR requests to load the dynamic content, you can generally still stick with httr verbs —... Continue reading...

Read more »

Strung Out On String Ops – A Brief Comparison of stringi and stringr

February 5, 2017
By
Strung Out On String Ops – A Brief Comparison of stringi and stringr

I made a promise to someone that my next blog would be about stringi vs stringr and I intend to keep said promise. stringr and stringi do “string operations”: find, replace, match, extract, convert, transform, etc. The stringr package is now part of the tidyverse and is 100% focused on string processing and is pretty... Continue reading...

Read more »

Candy Coated Confidence Intervals

February 3, 2017
By

@mrshrbrmstr hinted that she would like this post by @RickWicklin translated into R for her stats class. She’s quite capable of cranking out the translation of the core component of that post — a call to chisq.test — but she wanted to show the entire post (in R) and really didn’t have time (she’s teaching... Continue reading...

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)