View source: R/dbQueryHistory.R
dbQueryHistory | R Documentation |
Show history of queries loaded into a database collection
dbQueryHistory(con, verbose = FALSE)
con |
A connection object, see section 'Databases' in ctrdata. |
verbose |
If |
A data frame (or tibble, if tibble
is loaded)
with columns: 'query-timestamp', 'query-register',
'query-records' (note: this is the number of records loaded when last
executing ctrLoadQueryIntoDb, not the total record number) and
'query-term', with one row for each time that
ctrLoadQueryIntoDb loaded trial records into this collection.
dbc <- nodbi::src_sqlite(
dbname = system.file("extdata", "demo.sqlite", package = "ctrdata"),
collection = "my_trials"
)
dbQueryHistory(con = dbc)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.