Rotate R list of dates into vector
I have a list of dates that is returned by a function and looks like this:
$`2014-03-02T05:20:13,2014-03-02T05:20:13`
[1] "2014-03-02" "2014-03-02"
$`2013-12-04T21:06:28,2013-12-04T21:06:37,2013-12-04T21:06:46,2013-12-04T21:06:49,2013-12-04T21:07:16,2014-01-09T16:20:55,2014-01-09T18:20:59,2014-01-09T18:21:08,2014-01-09T18:21:08`
[1] "2013-12-04" "2013-12-04" "2013-12-04"
[4] "2013-12-04" "2013-12-04" "2014-01-09"
[7] "2014-01-09" "2014-01-09" "2014-01-09"
I would like to put all the individual list items in the dat vector. What is the best way to achieve this?
Thank!