powered by
Utility to run queries that return no output.
A default database can be set using options(civis.default_db = "my_database"). If there is only one database available, this database will automatically be used as the default.
options(civis.default_db = "my_database")
query_civis(x, ...)# S3 method for sql query_civis(x, database = NULL, verbose = FALSE, ...)# S3 method for numeric query_civis(x, verbose = FALSE, ...)# S3 method for character query_civis(x, database = NULL, verbose = FALSE, ...)
# S3 method for sql query_civis(x, database = NULL, verbose = FALSE, ...)
# S3 method for numeric query_civis(x, verbose = FALSE, ...)
# S3 method for character query_civis(x, database = NULL, verbose = FALSE, ...)
sql("..."), "query", or id of an existing sql script.
sql("...")
"query"
arguments passed to queries_post.
queries_post
string, Name of database where query is run.
bool, Print detailed updates of job status.
sql: Run a SQL query.
sql
numeric: Run a SQL query from a previous SQL query id.
numeric
character: Run a SQL query.
character
read_civis for downloading results of SQL scripts from Civis Platform as a data frame.
read_civis
io
Other io: download_civis(), query_civis_file(), read_civis(), write_civis_file(), write_civis()
download_civis()
query_civis_file()
read_civis()
write_civis_file()
write_civis()
if (FALSE) { query_civis("GRANT ALL ON schema.my_table TO GROUP admin", "database", credential=0000) }
Run the code above in your browser using DataLab