jystewart / heathrow

A scraper for capturing flight arrival/departure information for Heathrow. Will hopefully feed a twitter bot or something

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

== Heathrow ==

Many, many flights leave Heathrow each day and lots of people are interested in following that, whether they're flight enthusiasts, travel planners, or those concerned to track the environmental impact of all those planes.

The data that BAA provide leaves a lot to be desired (no RSS feed?) but it's not so hard to parse and pull into some sort of data store for later activity. That's what this code does, currently using DataMapper and an SQLite database. There are plenty of rough edges, but maybe it'll come in handy.

My hope is to use this to feed some twitter bots who could give regular updates on volumes of flights in and out of each airport. It'd be nice to do some calculations of distances travelled, but there's some disambiguation to do there as origins/destinations are given as city names rather than airport codes. Any suggestions of good ways to manage that gratefully received. Right now my plan is to start building some mapping of flight codes to airport codes that can be used to build that out.

There are the rudiments of a twitter bot in place, which posts to http://twitter.com/heathrowtower as time goes on I hope at the very least to spot unusual delays, etc. and tell the world of them.

James Stewart - james@jystewart.net
http://jystewart.net/process/

About

A scraper for capturing flight arrival/departure information for Heathrow. Will hopefully feed a twitter bot or something


Languages

Language:Ruby 100.0%