| ddbs_create_schema | R Documentation |
Check and create schema
ddbs_create_schema(conn, name, quiet = FALSE)
conn |
A |
name |
A character string with the name of the schema to be created |
quiet |
A logical value. If |
TRUE (invisibly) for successful schema creation
## load packages
## Not run:
library(duckspatial)
library(duckdb)
## connect to in memory database
conn <- ddbs_create_conn(dbdir = "memory")
## create a new schema
ddbs_create_schema(conn, "new_schema")
## check schemas
dbGetQuery(conn, "SELECT * FROM information_schema.schemata;")
## disconnect from db
ddbs_stop_conn(conn)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.