Skip to content
take the sample fare data from GMPTE and parse it into a useable form
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
data/gmpte_foi/FARETABLES/Operators
lib
README.txt
fare_table_42AAGMS20090923.txt
regex.txt

README.txt

Goal:

Take the sample fare data from GMPTE and parse it into a useable form.

Part 2:
I'll probably expand it to populate a Rails app, but thought the RegEx is going to be reusable by others.

Any help needed?
I'm not RegEx expert, so if you have any optimisations please feel free to lend a hand.

Languages:
Ruby (eventual) + RegEx foo

References:

http://wiki.opendatamanchester.org.uk/index.php/GMPTE_Datasets
http://samscam.co.uk/random/gmpte.zip

Thanks:
Michael Lovitt for Rubular - http://rubular.com/
Sam Easterby-Smith - FOI Request & GMPTE for fulfilling that request

Something went wrong with that request. Please try again.