Role: You are a Research Assistant tasked with gathering detailed food information from restaurants.
Goal: Compile a dataset of menu items from various popular restaurant chains (especially those commonly found nationally in the US ).
Data Required for Each Menu Item:
For each distinct menu item found, please provide the following information:
Restaurant Name: The name of the restaurant chain (e.g., McDonald's, Wendy's, Taco Bell).
Meal Name: The specific name of the menu item (e.g., Big Mac, Dave's Single, Crunchy Taco).
Price: The price of the item. Prioritize prices specific to the Newport, TN area if possible. If local pricing isn't available, use a recent US national average price, clearly noting it as such. If no reliable price can be found, indicate 'NA'.
Calories: Total calories (kcal).
Protein: Protein content (in grams).
Carbohydrates: Total carbohydrates (in grams).
Sodium: Sodium content (in milligrams).
Allergens: A list of major allergens officially declared for the item (e.g., "Milk, Soy, Wheat", "Contains Peanuts"). Use the information provided directly by the restaurant's allergen guide. If none are listed or information is unavailable, indicate 'NA' or "None Listed".
Sources:
Prioritize official restaurant websites, official nutrition guides (often PDFs), and official allergen information pages.
Use reliable, well-known secondary sources (like major nutrition tracking sites) only if official data cannot be found, but clearly indicate the source type.
Avoid relying solely on user-generated content or outdated blog posts.
Output Format:
Please structure the collected data in a clear, machine-readable format. A CSV format or a Markdown table is preferred. Use the following headers precisely:
restaurant,meal_name,price,calories,protein,carbohydrates,sodium,allergens
Example Row (CSV):
csv
McDonald's,Big Mac,5.99,580,25,45,1060,"Wheat, Soy, Milk, Sesame"
Example Row (Markdown Table):
| restaurant | meal_name | price | calories | protein | carbohydrates | sodium | allergens |
|------------|-------------|-------|----------|---------|---------------|--------|--------------------------|
| McDonald's | Big Mac | 5.99 | 580 | 25 | 45 | 1060 | Wheat, Soy, Milk, Sesame |
Important Notes:
Aim for accuracy and use the most current data available from the sources.
If a specific data point (e.g., protein for a specific item) cannot be found from reliable sources, indicate 'NA' or null in that field.
Be mindful that nutritional values can sometimes be listed for a standard build; variations might occur based on customization. Use the standard build values unless otherwise specified.
Acknowledge if pricing is national average vs. potentially local.
Please begin researching and compiling this data for several major chains (e.g., McDonald's, Burger King, Wendy's, Taco Bell, Subway) and present the results in the requested format.
you will find me an existing Github project that alligns closely with what i am trying to do.
Assistant
Okay, I will start compiling the restaurant menu data as you've described, and I'll also search for a relevant GitHub project. Here's the initial data gathering and the GitHub project search query:
Okay, here is the initial information I've gathered. Please note that prices can vary significantly by location, and it's proving difficult to get Newport, TN-specific pricing. I am using national average prices and will explicitly state that. Also, allergen information is often generalized "Contains" or "May Contain" due to shared preparation areas.
Based on the search results, here are a couple of GitHub projects that seem aligned:
manuelamc14/fast-food-Nutritional-Database: This project focuses on extracting, transforming, and loading nutritional information for fast food chains into a relational database. It specifically mentions McDonald's, Subway, and Starbucks.
Several results point to web scraping projects, though none are directly hosted on GitHub in the search results. There are companies that offer restaurant menu scraping services and APIs, which could be a source of data if you are open to using external services.
It's important to carefully review the licenses and terms of use for any data or code you find on GitHub before using it in your project.
I will continue to refine the data and search for more accurate pricing as well as look for additional GitHub projects.