View source: R/database_backend.R
Load Info to DB Generic loader function for the analytics part of the Ocrolus API. This will take a string of key columns to use a check and use that to validate there are not duplicates
1 2 3 4 5 6 7 8 | load_book_information(
data_df,
connection,
table_name,
db_schema,
key_cols,
analytics = F
)
|
connection |
connection object initalized from get_sql_connection |
table_name |
the name of the table you want to load the book data into |
db_schema |
the schema where you want/have the table |
key_cols |
key columns for the section |
book_df |
df containing the book information, get_books function will give you this data |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.