The UK Food Standards Agency evaluates various establishments across the United Kingdom, and gives them a food hygiene rating. You've been contracted by the editors of a food magazine, Eat Safe, Love, to evaluate some of the ratings data in order to help their journalists and food critics decide where to focus future articles.
Part 1: Database and Jupyter Notebook Set Up
Part 2: Update the Database
The magazine editors have some requested modifications for the database before any queries or analysis can be performed for them.
Part 3: Exploratory Analysis
Eat Safe, Love has specific questions they want you to answer, which will help them find the locations they wish to visit and avoid.
To run this script:
- Copy the git link and clone it in your local machine.
- Ensure Resources directory, NoSQL_setup.ipynb, and NoSQL_analysis.ipynb files are present
- Ensure the establishments.json file is present in the Resources folder
- Run the script using Jupyter Notebook from nosql-challenge directory and view results
- Be sure to run the entire script using Restart & Run All option from Kernel in Jupyter Notebook to get error free results
- Or, you could alternatively run each block of code individually starting from the very top
- In additon, you could change the csv dataset containing the same columns in Resources folder and run the code to see the results
To write this script, I used the starter code provided and discussed the module challenge questions with my tutor.
He helped me write a small portion of the logic to sort and group the query. I also discussed a small syntax error with my peer, who helped me correct it.