Skip to content
Find out which roads to avoid in winter weather. A maps mashup. Put together at the @boxuk "For the Social Good" hackday (Nov 2011) by @voxmjw, @whitehankey, and @martinjc.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ukice_proj
.gitignore
LICENSE
README

README

CONCEPT

Which roads in the UK are prone to accidents due to winter weather? Gritly is a simple Google Maps mashup that displays the locations of road traffic accidents where conditions were icy or snowy. Data is taken from the UK government Road Accidents and Safety dataset, freely available at http://data.gov.uk/dataset/road-accidents-safety-data.
Gritly also takes live information on road hazards and incidents from Twitter. Tweets in the form "#ukfreeze POSTCODE DESCRIPTION" are displayed at the corresponding location on the map.


OPERATION

Requires a SQLite3 database file containing a Road Accidents and Safety dataset. The dataset (in CSV format) can be found at http://data.gov.uk/dataset/road-accidents-safety-data . An example database file (datasets_db.db) is provided to indicate the expected schema. All fields present in the CSV files are in the database schema, with the addition of a 'datetime' for the combined date and time.

Required packages: tweepy, geopy.


BEHIND THE SCENES

Built in under 10 hours at the November 2011 Box UK "For the social good" Hack Day (http://www.boxuk.com/) by:
Mark Greenwood (@whitehankey)
Martin Chorley (@martinjc)
Matt Williams (@voxmjw)
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.