James Cridland

James Cridland's blog

A radio futurologist writing about what happens when radio and new platforms collide

« | Blog index | »

Oyster prepay or Travelcard?

Posted on Saturday, January 3rd, 2009 at 12:08am. #

It’s that time again in London: there’ll be a huge queue on Monday morning in tube stations across the capital, as people renew their travelcards.

However, if you commute on the London Underground, Monday to Friday, then you probably shouldn’t buy a travelcard. Indeed, for my own travel pattern, an annual travelcard is £249 more than simply paying by Oyster prepay. It’s just as convenient, since auto-topup allows you to simply use it as you would a travelcard, too.

Presenting Prepay or Travelcard, a website I’ve quickly whipped up that does the maths for you. Spread the word – it could just save you a ton of money this year. And it just takes two minutes to see if you can save, too.

(Worth pointing out that, while it doesn’t assume you only commute, it does assume that you only take two trips a day, naturally, and never use buses.)

A little techie background (turn away now, this is dull)

In making this website, I wanted to understand how quick it was to set up a new website only using Google’s technologies.

The domain-name was registered by visiting Google Apps for Your Domain, which I did just after 5.00pm today (Friday). Ordinarily, I’d have visited my normal domain-name host, but this time I wanted to keep things simple, so simply registered a new domain through Google. It does keep things -very- simple indeed; the domain was up and working within minutes (and even gets mail – james (at)prepayortravelcard.com is yet another email address that’ll get to me).

Second, www.prepayortravelcard.com is hosted on Google App Engine. , which meant I needed to learn how to use Python (and Django templates) pretty quickly. This was surprisingly easy – Google has some useful hello world documentation which was very helpful. I’d done some vague fiddling over Christmas which introduced me to the concepts, but this was the first time I’d used the tools in anger.

Third, naturally, I wanted to at least attempt to monetise it – Google AdSense comes to the rescue, boringly (it took two minutes to get the code); and fourthly, I wanted to measure it, so Google Analytics also steps in (it took only one minute to get the code for that). The animation for the “see how we worked it out” is courtesy of jQuery, which Google also hosts.

The full overview that you probably need to know is that from initial thought of the site to full deployment (with the simple style prettifications) took a total of six hours, including one hour, fittingly, for commuting. And the site’s cost a total of £6, for the domain name.

Now – yes, the site’s actually perfectly possible to make using nothing but JavaScript – this version moves the maths into Python, rather than earlier versions of this script I’ve done in the past using JavaScript, which means it’s rather slower to use – particularly since I’ve made it use page refreshes (to assist Google AdSense) rather than nice Ajaxy DIVs. But then, the point of this was, actually, to understand how quick Google is to use as a development tool. And the answer is: very.

Photo: Rachel Lovinger. Used under licence.

9 comments

Briantist
commenting at January 3rd, 2009 at 6:29am

Thanks for the post James, I might give a little project of mine a go in the same way.

Not sure how you register a domain though Google Apps yet, but I’ll have a go later on.

Rachel
commenting at January 3rd, 2009 at 8:16am

I liked this. For me, it showed that using the Travelcard was the cheaper option. It didn’t take into account that I use the train to get in to town, for which I can only use a travel card not pre-pay, so my actual savings are probably more.

Annie Mole
commenting at January 3rd, 2009 at 5:06pm

Luckily for me (since I bought it in September) my Tavelcard is still the cheaper option. Like the new look calculator and added it to my post on Tube fare increases. Cheers :)

Alan
commenting at January 3rd, 2009 at 6:22pm

Blown away by this, James (again!). Interestingly, for my Zones 1 – 8 journey, the diff for an annual Oyster is marginal. But I didn’t factor in all the journeys between W1 and lovely W12 or social weekend trips.

Andy
commenting at January 5th, 2009 at 8:05pm

Awesome work James, a six hour turn around is pretty phenomenal.

One thing to add maybe (for those lucky enough) is the option of an 18 – 25 rail card. Not many people know that you can put this onto your Oyster card (if you have registered your oyster online). It gives a 33% discount on one day travel cards, which effectively caps a days travel (zones 1 and 2 for example) at £4.80, which is cheaper (based on 5 days travel a week) than a weekly pass.

I’m not sure how this discount works on other zones, but it may be something worth considering.

Brian Betongde
commenting at January 27th, 2009 at 12:04pm

Londonist are now linking to the site in one of their new articles:

http://londonist.com/2009/01/payg_comes_to_swt.php

Brian.

GingerNinja
commenting at April 14th, 2009 at 11:56am

I was going to say “Did you know this has been ripped off?” but noticed the copyright at the bottom, so maybe it hasn’t been? Take a look: http://www.mediauk.com/content/oyster-card-calculator.muk

MattA
commenting at December 3rd, 2009 at 12:37pm

any plans for including train travel when the london stations come under oyster umbrella in jan 2010?

matt

Wizman
commenting at February 8th, 2010 at 12:12pm

Hey there,

nice tool, although as a bit of contructive critism, there is a glaring omission..

There are plenty of people whjo travel from outer london or outside of London to only one specific zone, e.g.Zone 2.

It is possible to get travel cardst hat are only zone 2-4, or any range of zones.

I believe this particular addon would be simple if you gave the actual raw data for the prices for these fares or how they’re calculated by Tfl.

Apart from that, great tool!

Thanks.

Leave a comment

Here's my commenting policy

To prove you're human, type the two words below into the box provided.

Additional comments powered by BackType