powered by
Cross-parse from an R parse tree into SQL.
tokenize_for_SQL(lexpr, colnames, env = parent.frame())
sql info: list(presentation, parsed_toks(list of tokens), sql_text, symbols_used, symbols_produced, free_symbols)
item from substitute
substitute
column names of table
environment to look for values
tokenize_for_SQL(substitute(1 + 2), colnames= NULL) tokenize_for_SQL(substitute(a := 3), colnames= NULL) tokenize_for_SQL(substitute(a %:=% ( 3 + 4 )), colnames= NULL)
Run the code above in your browser using DataLab