Load star_database (from a RDS file)
See also
Other star database deployment functions:
cancel_deployment()
,
deploy()
,
get_deployment_names()
Examples
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
)
mrs_db2 <- load_star_database(mrs_rdb_file)