save_logging: Save an xlsx file with logging tables

Description Usage Arguments Examples

View source: R/save_logging.R

Description

Save an xlsx file with logging tables

Usage

1
save_logging(logging_project)

Arguments

logging_project

A logging object from the 'use_logging()' function

Examples

1
2
3
4
5
6
7
start_logging(project = "my logging project",
                        log_file = "my_project_log.xlsx",
                        yaml_file = "my_log.yaml")
logging_project <- use_logging("my_log.yaml")
x <- data.frame(this = "foo", that = "bar")
logging_project <- add_log_table(logging_project, "1", x)
save_logging(logging_project)

NateByers/logging documentation built on April 23, 2020, 10:40 a.m.