Database Agnostic Package to Generate and Process 'SQL' Queries in R


[Up] [Top]

Documentation for package ‘RSQL’ version 0.1.4

Help Pages

%IN% Operator IN for multiple columns
.onLoad rsql
add_grep_exact_match add_grep_exact_match
add_quotes Adds quotes to a string
cbind_coerced TODO: WHAT DOES THIS DO AGAIN?
createRSQL Produces a RSQL object
dequote Removes the quotes from the string
df_verify Checks that the columns are in the data.frame
execute_get_insert Executes the insert statement
getMtcarsdbPath getCarsdbPath
getPackageDir Get package directory
is_quoted Determines if the string is quoted or not
needs_quotes Determines string type which needs quotes in an SQL statement
parse_where_clause Parses a where clause.
rename_col renames a column on a data.frame
replaceNAwithNULL Replace NA with NULL in sql statement
re_quote This functions remove original quotes and sets validated quotes for corresponding db. If it had no quotes, will only put corresponding quotes symbols
rm_quotes Removes quotes from the String
rm_vector_quotes Removes quotes from data.frame columns
RSQL rsql
RSQL.class The class that provides the SQL functionality.
sql_execute_delete sql_execute_delete
sql_execute_insert Executes a statement on the database.
sql_execute_select Executes a select on the database
sql_execute_update Executes an update on the database
sql_gen_delete Generates a Delete Statement
sql_gen_insert Generates an insert statement.
sql_gen_select Generates a Select Statement
sql_gen_update Generates an update statement
sql_gen_where Generates a where statement to be used on a SQL statement.
sql_gen_where_list Generates a where list statement to be used on a SQL statement.
sql_gen_where_or Generates a where (or) statement to be used on a SQL statement.
sql_retrieve Retrieves Statement
sql_retrieve_insert Retrieves or insert Statement
stuff_df_quoted stuff quote characters in quoted or not quoted df for DSL or DML operations
stuff_quote Stuff quote symbol from text
trim Returns string w/o leading or trailing whitespace
trim_leading Returns string w/o leading whitespace
trim_trailing Returns string w/o trailing whitespace