Blog Archives

Kindle clippings.txt with Python

December 22, 2017
By

Exactly a year ago I posted Kindle clippings.txt with R. Since then things have changed… I’m a Pythonista now! Consequently, I thought it would be fun to update that post and parse highlights with 3.6+ and pandas. Janky, but it works: import panda...

Read more »

Animated Spirals

February 19, 2017
By
Animated Spirals

Ed Hawkins’ Global Temperature Spiral is my new favourite visualization. It’s powerful, compelling, and super tangible. I wanted to apply the spiral to my own data, so I got janky with ggplot2 and figured out how to do it. Here’s my own spiral...

Read more »

The Tile Grid Map for Canada

February 14, 2017
By
The Tile Grid Map for Canada

I love the tile grid map: Source I think they’re elegant, easy to read, and great for data that are population agnostic. I live in Canada, though. And it sucks (well, no it doesn’t!) because I’ve only ever seen tile grids for America. I dec...

Read more »

Starry Night Plots

February 4, 2017
By
Starry Night Plots

I think good data science reads like a good story. In that it flows. Has an arc. And is compelling. But data science has a dirty secret. For every piece that works, there are about nine others that didn’t. Nine other stories that look like they were...

Read more »

Hypothetical Outcome Plots

February 2, 2017
By
Hypothetical Outcome Plots

suppressPackageStartupMessages(library(tidyverse)) # devtools::install_github("dgrtwo/gganimate") # install.packages("cowplot") library(gganimate) # install image magick in terminal ____ "brew install image magick" If the Weatherman says that t...

Read more »

Visualizing "The Best"

January 20, 2017
By
Visualizing "The Best"

How do you measure “The Best”? It’s not immediately clear. Because, “The Best” is incredibly vague and subjective. My “Best” is not the same as your “Best”. And our “Best”s can converge and diverge depending on what we are measur...

Read more »

Candlesticks repurposed

January 14, 2017
By
Candlesticks repurposed

My cousin Eli is way cooler than me. Well, to be fair, I don’t exactly set a high bar! Eli is a skydiving enthusiast with over 200 jumps to his name. And I read books and write nonsense like this… Eli is meticulous about collecting metadata from e...

Read more »

Repurposing the Candlestick Chart

January 14, 2017
By
Repurposing the Candlestick Chart

My cousin Eli is way cooler than me. Well, to be fair, I don’t exactly set a high bar! Eli is a skydiving enthusiast with over 200 jumps to his name. And I read books and write nonsense like this… Eli is meticulous about collecting metadata from e...

Read more »

Fantasy Hockey with R

January 7, 2017
By
Fantasy Hockey with R

rvest and purrr are wonderful bedfellows. The packages share the underlying tidyverse API. And it feels simple and almost natural to combine them when scraping the web. Here is a slimmed down and worked recipe of how to leverage rvest and purrr in Fan...

Read more »

Fantasy Hockey with rvest and purrr

January 7, 2017
By
Fantasy Hockey with rvest and purrr

(This article was first published on max humber, and kindly contributed to R-bloggers) rvest and purrr are wonderful bedfellows. The packages share the underlying tidyverse API. And it feels simple and almost natural to combine them when scraping the web. Here is a slimmed down and worked recipe of how to leverage rvest and purrr in Fantasy Hockey. Step...

Read more »

Search R-bloggers


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)