I tried this code but it returns NA values:
a %>%
mutate(hms=seconds_to_period("duration"))
I had obtained "duration" in seconds by subtracting start_date and end_date in the dataframe.
I tried this code but it returns NA values:
a %>%
mutate(hms=seconds_to_period("duration"))
I had obtained "duration" in seconds by subtracting start_date and end_date in the dataframe.