Overriding the default column
It’s also possible to override the default column by switching from list()
to cols()
and specifying .default
, or to read in only the columns you specify using cols_only()
.
## # A tibble: 1 × 3
## x y z
## <chr> <chr> <chr>
## 1 1 2 3
## # A tibble: 1 × 1
## x
## <chr>
## 1 1