Question: Tasks 1. Read the data from the ramen-ratings.csv file into a tibble and display it. 2. Rename the Stars column to Rating. 3. Convert the

Tasks 1. Read the data from the ramen-ratings.csv file into a tibble and display it. 2. Rename the Stars column to Rating. 3. Convert the Style column to the factor type. 4. Drop the Country column. 5. Rename the Brand column to Company and the Variety column to Product. 6. Display the tibble to make sure your code worked correctly. Also, make a note of the number of rows in the tibble. 7. Use the duplicated() and filter() functions to display all duplicate rows. 8. Drop all duplicate rows. Then, display the tibble to get a count of the number of rows, and compare that with the original number of rows to see how many were dropped. 9. Display all rows that have missing values. 10. Drop any rows that have missing values. 11. Display the tibble to make sure your code worked correctly.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock