Description Usage Arguments Details Examples
dbConnect for drawings that may be read by package sf
1 2 |
drv |
SFSQLDriver created by |
DSN |
data source name, may be a file, or folder path, database connection string, or URL |
readonly |
open in readonly mode ( |
... |
ignored |
The 'OGRSQL' available is documented with GDAL: https://gdal.org/user/ogr_sql_dialect.html
1 2 3 | afile <- system.file("gpkg/nc.gpkg", package = "sf", mustWork = TRUE)
db <- dbConnect(SFSQL(), afile)
dbSendQuery(db, 'SELECT * FROM "nc.gpkg"')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.