get_deployment_names | R Documentation |
Obtain the names of the facts of a star database.
get_deployment_names(db)
## S3 method for class 'star_database'
get_deployment_names(db)
db |
A |
A vector of strings, fact names.
star_database
Other star database deployment functions:
cancel_deployment()
,
deploy()
,
load_star_database()
mrs_rdb_file <- tempfile("mrs", fileext = ".rdb")
mrs_sqlite_file <- tempfile("mrs", fileext = ".sqlite")
mrs_sqlite_connect <- function() {
DBI::dbConnect(RSQLite::SQLite(),
dbname = mrs_sqlite_file)
}
mrs_db <- mrs_db |>
deploy(
name = "mrs",
connect = mrs_sqlite_connect,
file = mrs_rdb_file
)
names <- mrs_db |>
get_deployment_names()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.