JavaScript isn't enabled in your browser, so this file can't be opened. Enable and reload.
Quiz Tutorial 2: Importing Data into R with readr
This quiz complements Tutorial 2: Importing Data into R with readr. It is only for your own self-assessment so you are free to submit as many times as you want.
Link to tutorial:
https://www.kaggle.com/anichh/tutorial-2-importing-data-into-r-with-readr
Sign in to Google
to save your progress.
Learn more
* Indicates required question
Q1: REVIEW: Which of the following functions lets us set a new working directory?
*
1 point
getwd()
setwd()
wd()
new()
Q2: REVIEW: Which of the following codes will print the entire DEMO data frame?
*
1 point
print(DEMO)
print("DEMO")
DEMO[ , ]
DEMO[all, all]
Q3: read_csv can also be used to import Excel and txt files.
*
1 point
True
False
Q4: Which R package does the function read_csv() belong to?
*
1 point
tidyverse
readr
ggplot
dplyr
Q5: REVIEW: R is case sensitive.
*
1 point
True
False
Q6: Which of the following statements about read_csv() are correct? (select all that apply)
*
1 point
the file name needs to be in ""
it only reads csv files
read_csv() will understand you if you misspell the file name
none of the above - they are all false
Required
Q7: Which of the following is the best an example of a data that would be classified as col_double()?
*
1 point
2
two
07-06-2021
2.54
Q8: Which of the following statements is true about the argument skip?
*
1 point
we can use it to skip the columns we do not want to import to R
it can only be used with read_csv()
it skips the first few specified number of rows (e.g. skip = 5 tells R to skip the first five rows)
it skips very specific row(s) and the number refers to the order of the rows (e.g. skip = 5 tells R to skip the fifth row)
Q9: In which of the following scenarios do you think we would NEED to use col_names = FALSE? (select all that apply)
*
1 point
when we want to change the names of our columns
when we want to remove a column named "col_names"
when the raw data set does not have any header
when we want R to automatically add "X1", "X2", "X3",... as the header of our imported data
Required
Q10: Only characters can be assigned a value of NA, there is a different missing-value designation for numeric values.
*
1 point
True
False
Submit
Page 1 of 1
Clear form
This content is neither created nor endorsed by Google.
Report Abuse
-
Terms of Service
-
Privacy Policy
Forms