Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please follow the rules and solve this with R studio with the below 4 datasets. 1. food_item.csv 2. ingredient.csv 3. stock.csv 4. recipe.csv - Consider

Please follow the rules and solve this with R studio with the below 4 datasets. image text in transcribed

1. food_item.csv

image text in transcribed

2. ingredient.csv

image text in transcribed

3. stock.csv

image text in transcribedimage text in transcribed

4. recipe.csv

- Consider the following entity-relationship diagram and corresponding CSV files 1. - Please use only the functions from the dplyr package to answer the questions below. - Don't use any control statements. - The efficiency and accuracy of your code account for 40% of this assignment. a. Write R code to return the food items required to cook the recipe "Beef Burger". b. Write R code to return all recipes containing both bread and tomato products with their weights on these two ingredients. c. Write R code to return the food items and their prices for all items of meat products sold at "MyMart" or "Coco Mart". d. Write R code to return the recipes with the total calories that contain "Wheat product". food_item ingredient recipe Filter

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Conceptual Database Design An Entity Relationship Approach

Authors: Carol Batini, Stefano Ceri, Shamkant B. Navathe

1st Edition

0805302441, 978-0805302448

More Books

Students also viewed these Databases questions

Question

Why do regulations on alcohol purchasing vary state to state?

Answered: 1 week ago