| pyUploadDataFrame | R Documentation |
Wrapper to python function to upload a data.frame using Postgres Copy functionality
pyUploadDataFrame(data, connection, table, schema)
data |
data.frame |
connection |
DatabaseConnector connection instance |
table |
Table in database |
schema |
database schema containing table reference |
## Not run:
connection <- DabaseConnector::connect(
dbms = "postgreql",
server = "myserver.com",
port = 5432,
password = "s",
user = "me",
database = "some_db"
)
ResultModelManager::pyUploadDataFrame(connection,
table = "my_table",
data.frame(id = 1:100, value = "some_value"),
schema = "my_schema"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.