Showing posts with label tour de france. Show all posts
Showing posts with label tour de france. Show all posts
Wednesday, 20 July 2016
Graphing the Tour de France - part 3/3
In the past two blogposts I have been creating and importing some nice Tour de France 2016 data. It's a small dataset, for sure, and this is by no means a realistic graph application - but perhaps we can still have some fun exploiting the data with some cypher queries. That's what we'll try now. I have put all of the example queries together in this gist, so please feel free to play around with it :) ... let's take you through it.
Monday, 18 July 2016
Graphing the Tour de France - part 2/3
In a previous blog post, I created a couple of Google spreadsheets with some of the results data of the 2016 Tour de France. These spreadsheets can be very easily downloaded as two comma-separated files that hold the data:
- the riders.csv file can be downloaded from this URL.
- the stages.csv file can be downloaded from this URL.
I will be updating the stages.csv files as the Tour progresses, so we can keep updating the graph as well.
Creating a model
To import these CSV files into Neo4j, I actually went through multiple iterations of the model. Here's two of them that I wanted to share with you - not because of the fact that one of them would be "right" and the other one would be "wrong", but because it really reflects the fact that your use case - the questions that you want to ask of your data and what you want to be doing with the data - is going to determine the model. Underlined. In Bold. Because it's so important.
Labels:
apoc,
csv,
cycling,
google spreadsheet,
graph database,
import,
neo4j,
schema,
tour de france
Thursday, 14 July 2016
Graphing the Tour de France - part 1/3
Alright, it's time to come out of the closet. I have to admit, over the past couple of years, I have turned into a bit of a cycling geek. I love watching the races in Flanders in spring, the legendary "ride through hell" from Paris to Roubaix, and of course, now, in summertime, the big tours of Italy, France and Spain. I have grown quite addicted to it - and have taken to riding my own bike a couple of times a week as well... it's a ton of fun. Last year I did a fun experiment in a series of 5 blog posts about the Professional Cycling twitterverse, but this year, I had something else thrown into my lap. Here's what happened.
Subscribe to:
Posts (Atom)
