Description Usage Arguments Value Examples
Creates indexes onto an existing table within a database
1 |
conn: |
Connection to database. Can used assigned output from function connectR for the connection. |
table: |
Name of table on the database |
indexes: |
a vector of column names to become indexes for a table. |
unique: |
Specifies if the indexes are unique or not (TRUE or FALSE). |
Indexes on a table
1 2 3 | #Creates a table with no data on the database, but allows primary
keys/indexes to be created:
create_indexes(post, "testdata", testdata, c("col1","col2"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.