Description Usage Arguments Creation notes Author(s) Examples
Append sf table to a Microsoft SQL table
1 2 3 4 5 6 7 8 | DBI_AppendSFtoTable(
conn,
sfTable,
schema,
tableName,
createTableQuery = NULL,
warnings = getOption("warn")
)
|
conn |
A |
sfTable |
sf object to append to specified database table |
schema |
Name of schema that table is under. character vector of length 1. |
tableName |
Name of table. character vector of length 1. |
createTableQuery |
Currently unused. Always NULL |
warnings |
Warning key. Use |
First created in 2020-11-03 with the script OSMdownloadAndSFtoSQLInterface.R in the MARC-KC/HelpLibrary Repository
Jacob Peterson
1 2 3 4 5 6 7 8 9 | ## Not run:
library(DBI)
con <- connectODBC("DB_MARC_PRD.marcdl")
#This is not set up to be a real example
tableColNames <- DBI_AppendSFtoTable(con, sfTable, "marcdl", "TestTable")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.