Hey all,
I have a big data frame with 10 variables and thousand of objectives and want to split the time stamp (which is the first column) into date and time.
I tried different codes so far, like the stringr and the tidyverse package, but all I get is two different results:
- nothing happens at all, but also no error code appears (for tidyverse)
- it splits the time stamp how I want it, but cuts of all the other columns, so I just have the date and time left (for stringr)
bubble_data %>% separate(Time, into = c('Date', 'Time'), sep = " ") %>%
str_split_fixed(bubble_data$Time," ", 2)
Thats the two codes I tried.
Thanks in advance.