load_book_data: Load Book Data Load data to a database, designed use is from...

Description Usage Arguments

View source: R/database_backend.R

Description

Load Book Data Load data to a database, designed use is from the get_books function. This checks if a table is created and will compare the loaded data against what was pulled from the API

Usage

1
2
3
4
5
6
7
load_book_data(
  book_df,
  connection,
  table_name,
  db_schema,
  return_unloaded_books_df = F
)

Arguments

book_df

df containing the book information, get_books function will give you this data

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

return_unloaded_books_df

return the dataframe with the unloaded books, T or F


atroiano/ocrolusR documentation built on Dec. 31, 2020, 7:53 p.m.