Description Usage Arguments Value Examples
Creates a table in the database from a dataframe and creates primary keys/ indexes
1 2 |
conn: |
Connection to database. Can used assigned output from function connectR for the connection. |
name: |
Name of table on the database |
value: |
Data.frame |
primary: |
Column(s) to created to primary keys / indexes. |
Empty table in database with primary keys/ indexes
1 2 3 | #Creates a table with no data on the database, but allows primary
keys/indexes to be created:
db_create_primary(post, "testdata", testdata, c("col1","col2"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.