All posts by David Berrecloth

Food data to go

interactive-data-hr

We know from past hackathon events that the attendees are a talented hive of production and we want to help you to make more honey. At the Food Standards Agency, we have a healthy appetite for openness. This is because we’re an independent government department with no specific minister. It means openness and transparency are in our DNA.

We publish open data about food.

So let’s cook

We’re excited to be part of the Open Data Camp and have a series of digital offerings to serve up. If you’re into making stuff, we’re keen for you bring your experience to the table and use our data to make a new innovative application and that can include social media.

Below are details of our main datasets and some examples of where to find existing applications. These might inspire you.

Do let us know how you get on @foodgov and use #opendata. Our @drsiant will be at the event and me, @davidberrecloth, via Twitter.

  1. UK food hygiene ratings API (JSON and XML format)

 

fhrs5

About the geo-coded data

The food hygiene ratings given to restaurants, pubs, cafés, takeaways, hotels and other places consumers eat, as well as supermarkets and other food shops. A food business’s rating reflects the standards of food hygiene found on the date of inspection or visit by the local authority.

Get data

Our API 2.0, which includes calls to the server, can query and return data (not the whole dataset though):

http://api.ratings.food.gov.uk/help

A more basic API as well as static XML files by local authority:

http://ratings.food.gov.uk/open-data/en-GB

Consumers can search for ratings at:

www.food.gov.uk/ratings

Examples

There are a number of app outlets offering hygiene rating apps based on our data – have a search of Apple, Android, Windows, BlackBerry, for example. Also, there are a number of websites. Search for ‘food hygiene ratings’ to find these. Can you think of a potential social media application? For example, a Facebook check-in at a restaurant displays the restaurant’s rating on a map?

  1. Allergy alerts and food alerts (RSS feed)

allergy alert

About allergy alerts

Peanuts, egg, milk, fish are some of the 14 major allergens and when allergy labelling is incorrect on a food product, or if there’s another food allergy risk, the food product has to be withdrawn from sale or recalled to protect consumers. Food allergic reactions range from mild to very serious. Most people are not allergic to all 14 allergens and we know affected individuals would benefit enormously if they could get alerts for the allergen that they are affected by, straight to their preferred social media feed.

Get allergy alerts

www.food.gov.uk/news-updates/allergynews-rss

About food alerts

If there’s a problem with a food product (such as it contains pieces of metal or a nasty food bug) then that means it should not be sold and might be withdrawn (taken off the shelves) or recalled (customers are asked to return the product for a refund).

Get food alerts

www.food.gov.uk/foodalerts-rss

  1. Audit of meat establishments (CSV format)

About the data

Slaughterhouses (abattoirs), meat cutting plants and wild game handling establishments are audited by us to make sure that they are:

  •         complying with food law requirements
  •         meeting relevant standards in relation to public health and, in slaughterhouses, animal health and welfare

More information at www.food.gov.uk/business-industry/meat/audit

Get data

www.food.gov.uk/sites/default/files/csv/fbo-audits-completed-on-after-november-2012.csv

Example

Search web for ‘meat audit app’.

  1. UK local authority enforcement data (CSV format)

About the data

If something goes wrong or the risks become too high, local authorities can take enforcement action against a food business – closure, seizure of food, a simple caution, or a prosecution, for example. Data showing food law enforcement action taken is available in CSV format for the past four years up to 2013/14.

Get it

www.food.gov.uk/enforcement/monitoring/laems/mondatabyyear/

  1. Food and You survey

food and you

About data

This consumer survey is used to collect information about reported behaviours, attitudes and knowledge relating to food issues. It provides data on people’s reported food purchasing, storage, preparation, consumption and factors that may affect these, such as eating habits, influences on where respondents choose to eat out and experiences of food poisoning

Get data and user guide

www.food.gov.uk/food-and-you

www.food.gov.uk/sites/default/files/csv/2014-food-and-you-survey.csv

www.food.gov.uk/sites/default/files/food-and-you-csv-data-user-guide_0.xls

Example

It can be used for marketing to target food messages to the right groups through the relevant channel.

Keep connected

Join the conversation at @foodgov using #opendata

Be our Facebook community food.gov.uk/facebook

Watch our videos food.gov.uk/youtube

Get our news by RSS food.gov.uk/rss

Get our news by email food.gov.uk/email

Enjoy the weekend guys!