Description Usage Arguments Value See Also
View source: R/extract-datetime.r
Extracts time from data frame
1 2 | extract_time(data, prefix = "", suffix = "", expand = c("Hour", "Minute",
"Second"), tz = "PST", standardised_offset = -8)
|
data |
data.frame with columns of [prefix]expand[suffix], [prefix]expand[suffix] values etc |
prefix |
string |
suffix |
string |
expand |
character vector of column names where [prefix]expand[suffix] and expand must only be Hour, Minute and/or Second |
tz |
string of time zone |
standardised_offset |
an integer scalar indicating the time difference in hours between UTC and the desired time zone. |
A datetime object
sql_datetime and ISOdatetime
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.