This time you’ll be collecting the data!
Go to the #assignment-links channel on Slack, click on the link, and accept the assignment.
This will result in a long data frame. Suppose your data frame is called df
. You can use the following to print this as a scrollable table.
library(knitr)
library(kableExtra)
kable(df, format = "html") %>%
kable_styling() %>%
scroll_box(width = "900px", height = "400px")
Note: This will require that knitr
and kableExtra
packages are installed. You can install them with the install.packages
function.
The result should be a data frame with 3 rows and 11 columns: the first 4 columns coming from the information in the first exercise, and the other seven columns coming from the information you collect in this exercise.
Note that this exercise will require some repetitive work, and that’s the point (next class we’ll learn how to automate this process). You should thrive on writing some code that works for the page of the first show, and then be able to reuse this code for the pages of the other two shows.
Total | 60 pts |
---|---|
Question 1 | 20 pts |
Question 2 | 30 pts |
Overall organization, code quakity, clarity, commits, etc. | 10 pts |