Skip to content

The goal is to help the editors of a food magazine, Eat Safe, Love, to evaluate the data and assist their journalists and food critics in deciding where to focus future articles. The project aims to provide insights into the ratings data to identify establishments that meet the magazine's criteria for featuring in their articles.

Notifications You must be signed in to change notification settings

Asalvs/UK-Food-Hygiene-Ratings-Analysis-using-MongoDB

Repository files navigation

UK Food Hygiene Ratings Analysis using MongoDB

This repository contains two Jupyter notebooks that demonstrate the process of importing, updating, and analyzing data from the UK Food Standards Agency. The data includes food hygiene ratings for various establishments in the United Kingdom. The analysis is conducted using MongoDB and Python.

Project Overview

The project is divided into two main parts:

  1. NoSQL_setup_starter.ipynb: This notebook sets up the database, imports the data, and makes updates to the database according to the requirements of a food magazine.

  2. NoSQL_analysis_starter.ipynb: This notebook performs exploratory analysis on the data using various queries, aggregations, and data manipulation techniques to answer specific questions related to the hygiene ratings of establishments.

The data for this project is provided in the Resources folder, which contains the establishments.json file.

This project demonstrates the use of MongoDB as a NoSQL database and the power of PyMongo for connecting, querying, and updating data within the database.

Setup

To run this project on your local machine, follow these steps:

  1. Clone this repository to your local machine.
  2. Make sure you have MongoDB installed and running.
  3. Install the necessary Python packages (pandas, pymongo, etc.) using the requirements.txt file provided or using your preferred package manager.
  4. Open the Jupyter notebooks (NoSQL_setup_starter.ipynb and NoSQL_analysis_starter.ipynb) and run the cells in order to perform the analysis.

License

This project is licensed under the MIT License. See the LICENSE file for more information.

About

The goal is to help the editors of a food magazine, Eat Safe, Love, to evaluate the data and assist their journalists and food critics in deciding where to focus future articles. The project aims to provide insights into the ratings data to identify establishments that meet the magazine's criteria for featuring in their articles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published