logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Bobby DavroComputer science
(5/5)

888 Answers

Hire Me
expert
Harjeet KunduHistory
(5/5)

661 Answers

Hire Me
expert
Adele AndersonLaw
(5/5)

514 Answers

Hire Me
expert
Debra StephensonBusiness
(5/5)

740 Answers

Hire Me
R Programming
(5/5)

what does the table show Brief answer, you don’t need to read the whole paper.

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Exercise 1: Preparation (3 points)

Find your table in the paper (hint: look at the name of the file).

• 1a. What does the table show? Brief answer, you don’t need to read the whole paper.

• 1b. Did we do any modification (i.e. cut some columns, changed names, etc. . . ) to the original table? Which (if the case)?

 • 1c. Do you consider that the table is “messy”? Why?

Exercise 2: Fixing the header (2 points)

The table contains a “double header”. Make the corresponding modifications to merge them into one single header.

Exercise 3: Removing additional information (2 points)

Some rows do not display values corresponding to the column but some additional information (e.g., ***, Wild emmer wheat, Durum wheat, . . . ), remove those rows.

Tip: reading the data with the option na.strings="" might help you here

 

Exercise 4: Gathering variables (2 points)

Gather the data in order to have one column with the name of the different variables that were written as “second header” and another column that contains the value of those variables.

Look at the example provided at the end of the document.

Exercise 5: Fixing class types (2 points)

Check the class type of each column (character, integer, numeric, etc..)

• 5a. Do you see any class that does fit well to the type of values? Which one(s)? (Hint: use str())

• 5b. Change the class type of these columns to fit them to type of values that they have.

Exercise 6: Sorting the data (2 points)

Sort the data according to the first column of your table.

 

Exercise 7: Future improvements (2 points)

Now the data looks better, right? Unfortunately during the process we have dropped some information. . .

• 7a. Which information have we lost in the way of cleaning the data?

 • 7b. Make a suggestion of how would you further improve or clean the data and explain why. Do not write the code, just explain what else would you show in the table and/or how would you further clean the data and explain why.

Assignment should be submitted in RMarkdown format. I need both Rmd and .pdf (or .html) files.

 We will re-run your code, so make sure it is correct and does not have errors

You can clean the data in one single step or in different steps, both ways are equally fine.

For the writing questions: please write short and concise answers.

 

·         This work will be checked for plagiarism.

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme