Skip to content

Instantly share code, notes, and snippets.

@Colt
Last active February 15, 2025 12:06
Show Gist options
  • Save Colt/0ee92dbacdf9ab9edc64 to your computer and use it in GitHub Desktop.
Save Colt/0ee92dbacdf9ab9edc64 to your computer and use it in GitHub Desktop.

Scrape this site and use it's data to answer the following questions:

  1. Create a record for each snack containing the following:

    • Name
    • Number of snack
    • Flavor
    • Cuisine
    • Series
    • Composition (reference these to the appropriate documents in mongo)
    • Date it became an official snack
    • Description (text before taste description)
    • Taste description
  2. How many snacks are there in total?

  3. What is the most (and least) common cuisine?

  4. Which is the most common ingredient across snacks (look at composition)?

  5. What are the five most recently added snacks?

  6. Make a histogram of the dates snacks have been added. The definitive snack database.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment