Star Alliance Timetable as CSV
#1
Original Poster
Join Date: Sep 2007
Location: TLL
Programs: bmi, Finnair
Posts: 97
Star Alliance Timetable as CSV
As a Mac User I don't have access to the downloadable timetable application, which means that if I want to do anything offline, I'm stuck with navigating the PDF.
So I decided to do something about it, and wrote a script to extract all the data from the PDF into a format I could actually play with. I expect others might also like this, so I've made the raw data available as a CSV file (zipped to bring it down from 3M to 600k!)
I'm not entirely convinced I successfully caught all the weird edge cases, so if you notice any errors, please let me know.
It's nothing fancy, but being able to open it in Excel and filter on the various columns is still quite useful, and of course it opens up any number of other possibilities. I'm also considering building a little mini-application that makes it easier to play with, so if anyone has any suggestions for that, I'm all ears.
[Update: Sorry for the non-functional link initially. It seems Wordpress doesn't allow direct links to files unless they're published within a post. Should be working OK now.]
So I decided to do something about it, and wrote a script to extract all the data from the PDF into a format I could actually play with. I expect others might also like this, so I've made the raw data available as a CSV file (zipped to bring it down from 3M to 600k!)
I'm not entirely convinced I successfully caught all the weird edge cases, so if you notice any errors, please let me know.
It's nothing fancy, but being able to open it in Excel and filter on the various columns is still quite useful, and of course it opens up any number of other possibilities. I'm also considering building a little mini-application that makes it easier to play with, so if anyone has any suggestions for that, I'm all ears.
[Update: Sorry for the non-functional link initially. It seems Wordpress doesn't allow direct links to files unless they're published within a post. Should be working OK now.]
Last edited by salvadors; May 26, 2009 at 6:22 am
#2
Original Poster
Join Date: Sep 2007
Location: TLL
Programs: bmi, Finnair
Posts: 97
One thing that the PDF doesn't give that the PC tool appears to is routing details, listing only the number of stops, rather than what they are. Is that information available anywhere en masse, or would it be a matter of looking up each individual flight for details?
#4




Join Date: Jul 2008
Location: HKG
Programs: Marriott Ambassador (Titanium Lifetime), BA GfL, EK Gold, HH Diamond, Ex-BD*G
Posts: 3,752
Interesting, saved it for future reference. Can't help but wonder if this breaks the fair use of the tool, but, quite fun to just see at a glance which flights have, for example, a A380 on them, and exactly where each airline flies.
Now, if only you could enhance to include the available classes (F, C, Y+, Y etc) it would be great for redemption planning!
Now, if only you could enhance to include the available classes (F, C, Y+, Y etc) it would be great for redemption planning!
#5
Original Poster
Join Date: Sep 2007
Location: TLL
Programs: bmi, Finnair
Posts: 97
Well, I got the data from the PDF, rather than the tool, and I can't see anything in the document that might imply that I shouldn't do this. I don't see why it should be problematic: it's all published factual data, and they do claim that they're "committed to delivering to you the latest flight schedules from the Star Alliance members on multiple platforms Anytime, Anywhere". All I'm doing is filling in a gap until they get around to doing so themselves!
If someone can point me at a source for that data I'll gladly include it!
If someone can point me at a source for that data I'll gladly include it!
#6




Join Date: Jul 2008
Location: HKG
Programs: Marriott Ambassador (Titanium Lifetime), BA GfL, EK Gold, HH Diamond, Ex-BD*G
Posts: 3,752
As for the class availability, I don't have a clue I'm afraid without screen-scraping other websites.
#11




Join Date: Aug 2005
Location: DEN, FL350
Programs: IHTFP, AS 100k, ex-AA EXP, ex-UA 1K, Ex-BD/A6/AC *G (RIP)
Posts: 518
Is there any chance that the OP would be willing to release the source for the script used to parse data out of the PDF? I'd love to be able to update my CSV when the *A timetable is revised.




