Yahoo Fantasy Baseball API with R

Connecting to the Yahoo Fantasy Baseball API is tricky business. If you’ve found this post, you may have also found this post by Ryan Kuhn, and this post by Cory Nissen, both of whom have successfully implemented the API. I want to build on their work a little bit, by adding some extra functionality and… Read More »

Category: R

I made a GIF with ggplot2 and rworldmap

In my last post, I mentioned that I was interested in exploring the mapping capabilities of ggplot2. Well, shortly after I wrote that, I was searching the internet for “ggplot2 animated gif”, and I stumbled across this excellent walkthrough by Rafael Periera, which he had posted just minutes earlier! His blog, Urban Demographics is coincidentally… Read More »

A Foray into R, ggplot2, MariaDB

This post will not be useful to anyone but me, but I wanted to do a little project to get me more familiarized with R (especially ggplot2), MariaDB and git, and see how they all can connect. I’ve decided to use my new Fedora Scientific box to load some World Bank population data into a… Read More »

Linkwrap: Wifi Strength and Markov Chains

Victor Powell (setosa.io) created this interactive D3.js explanation of what Markov Chains are.   MIT’s SENSEable City Lab created this cool analysis of address-books in Portugal. The gist of it is that there are more contacts-per-person in large cities, but those networks aren’t more inter-connected (the idea of “urban villages”).   PHD student Jason Cole… Read More »

Linkwrap: All Kinds of Disasters

Isoscope shows you how far you can travel from any location in a given amount of time. Could be really useful when you consider the next item:   NUKEMAP is for the more paranoid of you. It lets you detonate a hypothetical nuclear weapon and see what the damage would be like.   A map… Read More »

Linkwrap: Black and Blue Heatmaps. Lots of Them.

This is a very awesome heatmap made by Strava, which displays very detailed data on where people bike and run worldwide. It also seems to be slightly biased towards people who can afford a smartphone. A map of all Facebook connections as of 2010. Here is a more detailed discussion by the author. An analysis… Read More »

Linkwrap: Optimus Johnson and Khaleesi Rodriguez

This is an interactive map of all the weather anomalies in the US since 1964. They plotted over 3 million anomalies. Nice!   Deadspin did this analysis of user vs. expert picks in the NCAA bracket.   Apparently Khaleesi is a more common name for 2012 girls than “Betsy”. This is the actual Social Security… Read More »

Linkwrap: Spending and/or Invading

This weird looking ball thing is a cool D3.js interactive spherical Voronoi diagram that shows where the airports are. The south Indian Ocean is extremely isolated in terms of airports, which has implications for MH370.   Where in the world is Ukraine? According to many Americans, it’s in northern Canada or Greenland. To make things… Read More »