View source: R/initSENDFunctions.R
genericQuery | R Documentation |
The function executes a SQL select statements in the database and returns the fetched set of rows as a data.table.
genericQuery(dbToken, queryString, queryParams = NULL)
dbToken |
Mandatory |
queryString |
Mandatory, character. |
queryParams |
Optional, character. |
Data.table with the set of fetched rows
## Not run: genericQuery(dbToken, 'select studyid, tsseq, tsgrpid, tsparmcd, tsval from ts') genericQuery(dbToken, 'select studyid, tsval from ts where tsprmcd = "SDESIGN" and studyid in (:1)', list("1234546","222333","444555")) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.