Learn R Programming

gmDatabase (version 0.5.1)

makeGmSQLfromR: Parse an R expression of SQl statements

Description

makeGmSQLfromR parses an R expression

Usage

makeGmSQLfromR(EXPR,vars,warn=FALSE)

Value

Returns the names for the WHERE or ON clause.

Arguments

EXPR

R expression of an SQL query.

vars

A list of variables

warn

A logical defining the handling of a possible occuring warning.

Author

K. Gerald van den Boogaart, S. Matos Camacho

Details

makeGmSQLfromR is an internal function, which is used for constructing WHERE clauses in SELECT statements or ON clauses in JOIN statements out of an R expression.

See Also

gmRead