Parse dates with format MM/DD/YYYY. This function simply wraps around readr::col_date() with the format argument set to "%m/%d/%Y". Many US campaign finance datasets use this format.

col_date_mdy()

col_date_usa()

Value

A POSIXct vector.

Examples

readr::read_csv(file = "x\n11/09/2016", col_types = readr::cols(x = col_date_mdy()))
#> # A tibble: 1 × 1
#>   x         
#>   <date>    
#> 1 2016-11-09