Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mattjw/gritly
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.
https://github.com/mattjw/gritly
Last synced: about 2 months ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/mattjw/gritly
- Owner: mattjw
- License: apache-2.0
- Created: 2011-11-21T14:24:55.000Z (about 13 years ago)
- Default Branch: master
- Last Pushed: 2011-11-23T20:55:25.000Z (about 13 years ago)
- Last Synced: 2024-04-09T21:26:54.187Z (10 months ago)
- Language: Python
- Homepage:
- Size: 129 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
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)