Blog Archives

Creating Styled Google Maps in ggmap

May 27, 2015
By
Creating Styled Google Maps in ggmap

In R, my go to package for creating maps is ggmap. Using this, one can create maps using a variety of services, including Google maps. I just recently discovered the ability to create a styled version of a Google map. Let's go through this process to create a black and white map of Chicago, with the parks...

Read more »

R Package to Download Fitbit Data

January 22, 2015
By
R Package to Download Fitbit Data

Fitbit is a device that tracks your daily activity. It's basically a pedometer, but it does a little more. It has an altimeter, so it can count flight of stairs climbed. It can detect your sleeping activity and give you a read on how often you are tossing and turning. Any how, I received a Fitbit One...

Read more »

Using rvest to Scrape an HTML Table

January 8, 2015
By
Using rvest to Scrape an HTML Table

I recently had the need to scrape a table from wikipedia. Normally, I'd probably cut and paste it into a spreadsheet, but I figured I'd give Hadley's rvest package a go. The first thing I needed to do was browse to the desired page and locate the table. In this case, it's a table of US...

Read more »

geocodeHERE 0.1 is on CRAN

November 6, 2014
By

In my previous blog post, I detailed how I created my first R package called geocodeHERE. This package is a convenient wrapper for Nokia's HERE geocoding API. The cool thing about this API is that it allows for bulk geocoding. So, instead of doing n API calls to geocode n addresses, you can do it with...

Read more »

Making an R Package to use the HERE geocode API

October 23, 2014
By

HERE is a product by Nokia, formerly called Nokia maps and before that, Ovi maps. It's the result of the acquisition of NAVTEQ in 2007 combined with Plazes and Metacarta, among others. It has a geocoding API, mapping tiles, routing services, and other things. I'm focused on the geocoding service. Under the “Base” license,...

Read more »

Visualizing Bus Stops with rCharts

June 11, 2014
By

I wanted to create a quick visualization of Bloomington IL bus stops. This data is in pdf file format spread across multiple files. The first step, before any mapping can occur, is downloading those files, parsing them to get the bus stop locations and...

Read more »

Finding Named Entities using R

February 11, 2014
By

Occasionally, I'll need to pick out names (first name, last name) from text. These days, the text I'm working with is usually tweets. Any how, I didn't see any solution out there (that worked for me) when I developed this, so hopefully it can be a star...

Read more »

Graphing my MPG vs Temperature

December 9, 2013
By
Graphing my MPG vs Temperature

I use Fuelly to track the fuel mileage in my Toyota Tundra pickup truck. They have a mobile app, so while I'm waiting for the truck to fill up, I log the odometer, and the number of gallons that I put in and then also the price per gallon of fuel ...

Read more »

Using R to Analyze Yahoo Fantasy Football Data

December 6, 2013
By
Using R to Analyze Yahoo Fantasy Football Data

I recently created a gist that demonstrated how to authenticate with the Yahoo API, using the httr package. In this post, I will expand on this a little to downloading personal Yahoo fantasy football data and creating a graph showing my regular season ...

Read more »

Mapping Foodborne Chicago Reports

November 25, 2013
By
Mapping Foodborne Chicago Reports

I help out with a project called Foodborne Chicago, where we search twitter for people in Chicago mentioning "food poisoning" and @reply to them with a link where they can file a report with the city of Chicago's Department of Public Health. The applic...

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)