View source: R/cdr_create_row_in_db.R
cdr_create_row_in_db | R Documentation |
Create new observation line in primary database table and insert a unique ID in the unique observation identifier line. Note: This function is only for the primary table. It is not used for the chg_log table. Note2: Function does not clean or control 'new_uid' inputs. Run controls code before passing in 'new_uid'
cdr_create_row_in_db(conn_pool, db_tbl_name, key_col, input_uid)
conn_pool |
pool object for the pool of connections to the specific db |
db_tbl_name |
string: name of the specific table to update, or |
key_col |
name of the unique ID column in the db table (table must have a unique ID column with unique IDs) |
input_uid |
char string: the new unique ID you'd like to use for the new observation you're creating |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.