Description Usage Arguments Value See Also Examples
Expands date time column in SQL query to extract Year, Month, ..., Second values.
1 2 | sql_datetime(column = "DateTime", suffix = NULL, expand = c("Year",
"Month", "Day", "Hour", "Minute", "Second"))
|
column |
string of column name |
suffix |
string of suffix to add to expand names |
expand |
character vector of SQL functions to apply to column and names of columns |
A string of the SQL commands
sql_date and sql_time
1 2 3 4 5 | sql_datetime()
sql_datetime(suffix = 'Caught')
sql_datetime('RecaughtD8Time')
sql_datetime('DateTimeRecaught')
sql_datetime('RecaughtDateTime')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.