| insert_into_crumb_table | R Documentation |
Insert into Breadcrumb Database Table
insert_into_crumb_table(con, crumb_table, monthly_crumb_files)
con |
a DBIConnection object, as returned by |
crumb_table |
name of the database table for insertion |
monthly_crumb_files |
names of the monthly breadcrumb files |
number of records affected
## Not run:
ris_storage_path("Reports") %>%
collate_daily_crumb_metadata() %>%
write_monthly_crumbs_for_year(2015) -> monthly_crumb_files
con <- DBI::dbConnect(
RMariaDB::MariaDB(),
default.file = normalizePath("~./.my.cnf"),
group = "spark.myftp.org"
)
create_crumb_table(
con, 2015
) -> crumb_table
insert_into_crumb_table(
con, crumb_table, monthly_crumb_files
)
DBI::dbDisconnect(con)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.