Tesla Powerwall data is recorded in 5 minute intervals. The date format is presented as a character string with date and time separated by a "T" and timezone added as "+12:00", aka NZST, an example of which looks like this: "2022-12-23T00:00:00+13:00".
I have attempted separating date and time using separate after a str_replace "T" with a space " ", but after that, nothing much worked without an "Error in mutate()
:".
Any suggestions for the best way to process the date and time in a data table.
Thanks
Charles