Articles by Tony Hirst

RStudio Clone for Python – Rodeo

December 17, 2015 | 0 Comments

So have you been looking for something like RStudio, but for Python? It’s been out for some time, but a recently updated release of Rodeo gives an increasingly workable RStudio-like environment for Python users. The layout resembles the RStudio layout – file editor top left, interactive console bottom left, variable ...
[Read more...]

Course Management and Collaborative Jupyter Notebooks via SageMathCloud

November 24, 2015 | 0 Comments

Prompted by a joint coursemodule team to look at options surrounding a “virtual computing lab” to support a couple of new level 1 (first year equivalent) IT and computing courses (they should know better?!;-), I had another scout around and came across SageMathCloud, which looks at first glance to be ...
[Read more...]

Doodling With 3d Animated Charts in R

July 22, 2015 | 0 Comments

Doodling with some Gapminder data on child mortality and GDP per capita in PPP$, I wondered whether a 3d plot of the data over the time would show different trajectories over time for different countries, perhaps showing different development pathways over time. Here are a couple of quick sketches, generated ...
[Read more...]

Detecting Undercuts in F1 Races Using R

July 11, 2015 | 0 Comments

One of the things that’s been on my to do list for some time has been the identification of tactical or strategic events within a race that might be detected automatically. One such event is an undercut described by F1 journalist James Allen in the following terms (The secret ... [Read more...]

Spotting Potential Battles in F1 Races

June 10, 2015 | 0 Comments

Over the last couple of races, I’ve started trying to review a variety of battlemaps for various drivers in each race. Prompted by an email request for more info around the battlemaps, I generated a new sketch charting the on track gaps between each driver and the lap leader ...
[Read more...]

Keeping Track of an Evolving “Top N” Cutoff Threshold Value

April 26, 2015 | 0 Comments

In a previous post (Charts are for Reading), I noted how it was difficult to keep track of which times in an F1 qualifying session had made the cutoff time as a qualifying session evolved. The problem can be stated as follows: in the first session, with 20 drivers competing, the 15 ...
[Read more...]

Scraping Web Pages With R

April 15, 2015 | 0 Comments

One of the things I tend to avoid doing in R, partly because there are better tools elsewhere, is screenscraping. With the release of the new rvest package, I thought I’d have a go at what amounts to one of the simplest webscraping activites – grabbing HTML tables out of ...
[Read more...]

Wrangling Complex Spreadsheet Column Headers

April 14, 2015 | 0 Comments

[This isn’t an R post, per se, but I’m syndicating it via RBloggers because I’m interested – how do you work with hierarchical column indices in R? Do you try to reshape the data to something tidier on the way in? Can you autodetect elements to help with ...
[Read more...]

Mixing Numbers and Symbols in Time Series Charts

April 8, 2015 | 0 Comments

One of the things I’ve been trying to explore with my #f1datajunkie projects are ways of representing information that work both in a glanceable way as well as repaying deeper reading. I’ve also been looking at various ways of using text labels rather than markers to provide ...
[Read more...]

Segmenting F1 Qualifying Session Laptimes

March 29, 2015 | 0 Comments

I’ve started scraping some FIA timing sheets again, including practice and qualifying session laptimes. One of the things I’d like to do is explore various ways of looking at the qualifying session laptimes, which means identifying which qualifying session each laptime falls into: For looking at session utilisation ...
[Read more...]

What’s the Point of an API?

March 9, 2015 | 0 Comments

Trying to clear my head of code on a dog walk after a couple of days tinkering with the nomis API and I started to ponder what an API is good for. Chris Gutteridge and Alex Duttion’s open data excuses bingo card and Owen Boswarva’s Open Data Publishing ...
[Read more...]

So What Can Text Analysis Do for You?

March 2, 2015 | 0 Comments

Despite believing we can treat anything we can represent in digital form as “data”, I’m still pretty flakey on understanding what sorts of analysis we can easily do with different sorts of data. Time series analysis is one area – the pandas Python library has all manner of handy tools ...
[Read more...]

Tools in Tandem – SQL and ggplot. But is it Really R?

February 28, 2015 | 0 Comments

Increasingly I find that I have fallen into using not-really-R whilst playing around with Formula One stats data. Instead, I seem to be using a hybrid of SQL to get data out of a small SQLite3 datbase and into an R dataframe, and then ggplot2 to render visualise it. So ...
[Read more...]
1 2 3 4 5 8

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)