dsqRun | R Documentation |
Run one of the preset queries (previously retrieved with dsqShowQueries)
dsqRun(
domain = NULL,
query_name = NULL,
input = NULL,
db_connection = NULL,
async = TRUE,
datasources = NULL
)
domain |
a character, the query domain (ex. 'care_site') |
query_name |
the query name as it appears in the result of dsqShowQueries |
input |
a vector of input parameters, in the same order as they appear in the text of the query. Information is available in dsqShowQueries() for each case. |
db_connection |
a character, the name of the connection to the database. This must exist in the remote session(s) - it can be created with datashield.assign.resource(). If no db_connection is provided, the first connection found in the renote session (alphabetically) will be used. |
async |
same as in datashield.assign |
datasources |
same as in datashield.assign |
the query result
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.