insp_save_table | R Documentation |
insp_create_table()
insp_save_table()
saves a reactable
object to the specified
path
. The defaults are intended for saving the inspections data table.
insp_save_table(
.table,
path = coviData::path_create("V:/Compliance/Inspection Data for Publishing/Table/",
paste0("insp_table_", Sys.Date()), ext = "html"),
force = FALSE
)
.table |
A |
path |
The location to save the table |
force |
Should an existing file at |
This function replies on saveWidget()
,
but replaces the base64 encoded dependencies in the self-contained file with
the human-readable equivalent.
The input .table
(invisibly)
Other functions in the inspections data pipeline (
insp_load_data()
,
insp_prep_data()
,
insp_create_table()
,
insp_archive_table()
) and the wrapper for the full workflow
(
insp_table_pipeline()
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.