I have a dataframe that contains a column V8 which consists of string values in this format --
7/16, 02/11, 5/12
These items are dates, the first representing the month of July in the year 2016, the second representing February of 2011, and the last representing May 2012. Sometimes there are initial zeroes, other times there are not.
I would like to represent these dates as such in R using the
method, but I know that this representation is nonstandard and ambiguous.
I was going to resort to programmatically converting the values in the CSV file to representations that would be understood by
, but it struck me that this must be a common problem so there might be a less involved and more idiomatic solution. I found the
function but I am not clear on how to use it, tried
but it returns
How can I convert these non-standard string values into Date objects?