Skip to content
London Ontario's City Budget API
PHP JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
application
css api doc updates
system removing old CI stuff. Updated readme
user_guide
.gitignore
.htaccess
README added ability to import negative numbers, added a blurb to the readme
budgetdata.pdf mvc setup. will probably need a xml serializer at some point
budgetdata2.pdf
budgetdata3.pdf mvc setup. will probably need a xml serializer at some point
citybudget.sql
index.php using phil sturgeon's restful code igniter install. going to follow t…
license.txt
odl.gif api doc updates
readJSON.js modified _format_json to add ()

README

London Ontario's City Budget API

== Development Setup ==

Clone the project to a web-accessible folder.

	git clone git://github.com/rtraction/citybudget.git citybudgetapi

Copy application/config/config.sample.php to application/config/config.php.
Edit application/config/config.php and put your URL into $config['base_url'].

Copy application/config/database.sample.php to application/config/database.php.
Configure your database settings in application/config/database.php.

Note: If you are going into a production environment you should not make 
application/controllers/import.php publicly available.

Run citybudget.sql into your database.

That's it! Test your setup by navigating to the site, for example:

	http://localhost/citybudgetapi/api/organizations/


Most important files are in
	application/controllers/
	application/models/
	application/views/
	
For more information about working with RESTful services in Code Igniter, check out
http://net.tutsplus.com/tutorials/php/working-with-restful-services-in-codeigniter-2/

Code Strong,
Open Data London


== What is this project? ==

The budget data for London is currently available on the city website in PDF form. 

This is not a very useful format for creating visualizations and applications.

This project takes the city budget, that has been manually entered into a spreadsheet by volunteers, and imports it into a database. Now the data can be accessed programmatically and displayed with this API.

Check it out in action at http://budget.opendatalondon.com/ 

We're hoping to have some cool apps implementing this software by the end of Open Data Hackathon Day :)
Something went wrong with that request. Please try again.