Hello, I want to divide a column whose format is 'chr' into 2 columns.
The data structure given is like this :
date_and_time
1 2019-09-01 00:00:00
2 2019-09-01 00:00:30
3 2019-09-01 00:01:00
... ...
As you can see, 2 information are in one column, and it was divided by one 'space'. And I want to make a data like this :
date time
1 2019-09-01 00:00:00
2 2019-09-01 00:00:30
3 2019-09-01 00:01:00
... ... ...
I searched by myself and was told 'str_split' is used to deal with this, but still don't know so how to devide the column and ultimately convert this into vector or dataframe form to merge with other data. Please help me!