Project containing the steps for a tutorial on civic hacking using open data from the food Hygiene Rating Scheme (FHRS).
Designed for Durham University Geography department using the open data file FHRS706en-GB.xml
- Python 3.7.1
- FHRS706en-GB.xml - data file for Durham from food.gov.u
Hello world with a loop, variables, conditions and comments
Using python to read the XML file and display business names.
Get zero rated establishments only.
Only process Restaurants, cafes and canteens
Get and display date for the business. Includes condition for when there is no date field.
Display the total of all the ratings. Bonus: Calculate total, and also as a percentage
Visualisation code for pie chart using Flask framework
Add HTML list to page