rws_rename_column | R Documentation |
Rename SQLite Column
rws_rename_column(table_name, column_name, new_column_name, conn)
table_name |
A string of the name of the table. |
column_name |
A string of the column name. |
new_column_name |
A string of the new name for the column. |
conn |
A SQLiteConnection to a database. |
TRUE
Other rws_rename:
rws_drop_table()
,
rws_rename_table()
conn <- rws_connect() rws_write(data.frame(x = 1), x_name = "local", exists = FALSE, conn = conn) rws_read_table("local", conn = conn) rws_rename_column("local", "x", "Y", conn = conn) rws_read_table("local", conn = conn) rws_disconnect(conn)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.