Having problems reading a European date format of date.month.year in R using readr, where date and month do not have leading zeros. E.g.
file:
1 date_of_birth
2 1.2.2016
Tried (among others):
file <- read_csv2("file.csv",col_types = cols(
date_of_birth=col_date("%d.%m.%Y")
))
results in date_of_birth : num 122016
Any help would be appreciated