File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -48,12 +48,12 @@ spark_mtcars %>%
48
48
49
49
## 7.4 - Map data
50
50
51
- 1 . Examine the contents of the /usr/share/flights/data folder
51
+ 1 . Examine the contents of the /usr/share/class/ flights/data folder
52
52
53
- 2 . Read the top 5 rows of the ` flight_2008_1 ` CSV file. It is located under /usr/share/flights
53
+ 2 . Read the top 5 rows of the ` flight_2008_1 ` CSV file. It is located under /usr/share/class/ flights/data
54
54
``` {r}
55
55
library(readr)
56
- top_rows <- read.csv ("/usr/share/flights/data/flight_2008_1.csv", nrows = 5)
56
+ top_rows <- read_csv ("/usr/share/class/ flights/data/flight_2008_1.csv", n_max = 5)
57
57
```
58
58
59
59
3 . Create a list based on the column names, and add a list item with "character" as its value.
You can’t perform that action at this time.
0 commit comments