Add a column to a table
Arguments
- client
A
harbour_client.- table
Table name.
- name
Column name.
- type
SeaTable column type, e.g.
"text","number","date".- ...
These dots are for future extensions and must be empty.
- column_data
Optional list of column options, e.g. the choices for a select column. Named
column_datarather thandatabecausedatameans "the rows you are writing" everywhere else in harbouR.
Examples
if (FALSE) { # interactive()
client <- hb_client()
hb_add_column(client, "Samples", "Notes", "text")
}