DBI_appendSFtoTable | R Documentation |
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 on 2020-11-03 with the script OSMdownloadAndSFtoSQLInterface.R in the MARC-KC/HelpLibrary Repository
Jacob Peterson
## Not run: library(DBI) con <- connectODBC("<servername>.<databaseName>.<schemaName>") #This is not set up to be a real example tableColNames <- DBI_appendSFtoTable(con, sfTable, "<schemaName>", "<tableName>") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.