store a datafield in the database
1 | store_datafield(datafield, conn, hash, clean = TRUE)
|
datafield |
a data.frame with datafield metadata. Must contain the variables local_id, datasource, table_name, primary_key and datafield_type. Other variables are ignored. |
conn |
a DBIconnection |
hash |
the hash of the update session |
clean |
perform all database operations within a transaction and clean up the staging tables. Defaults to TRUE. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.