sql_date: SQL Date

Description Usage Arguments Value See Also

View source: R/sql-datetime.r

Description

Expands date column in SQL query to extract Year, Month, Day values.

Usage

1
2
sql_date(column = "Date", suffix = NULL, expand = c("Year", "Month",
  "Day"))

Arguments

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

Value

A string of the SQL commands

See Also

sql_datetime and sql_time


poissonconsulting/poiscon documentation built on Feb. 18, 2021, 11:16 p.m.