datetimes and read_csv()

  • Automatic: “YYYY-MM-DD HH:MM:SS”
  • Else: specify col_types with col_date() and col_datetime()
    • See ?readr::col_datetime for format options
    • “%Y” = 4-digit year, “%B” = full month name, etc
    • Specify locale() for non-English month names