"-" = col_skip()
"?" = col_guess()
= col_character()
c = col_date()
D = col_double()
d = col_integer()
i = col_logical()
l = col_number()
n = col_datetime()
T = col_time() t
readr
is a the swiss-army knife of data ingestion: it’s my tool of choice for reading in text data in R, not least because I’m spending more time using the tidyverse these days. The readr
documentation is a little lacking in that it’s actually kind of hard to track down the single-character shortcuts for various column types. Without further ado:
Source: https://github.com/tidyverse/readr/blob/master/R/col_types.R