get_studies | R Documentation |
get_studies(db, lazy = FALSE)
db |
db A database connection, as created by |
lazy |
Whether to evaluate lazily using dbplyr. |
A data frame containing all studies.
# Create a database
db <- create_db(tempdir(), "mydb.db")
# Add some studies
DBI::dbExecute(db, "INSERT INTO Study VALUES('study1', 'data_format1')")
# Get the studies
get_studies(db)
# Cleanup
close_db(db)
file.remove(file.path(tempdir(), "mydb.db"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.