write_data_sheets: Add datasheets to a Workbook

Description Usage Arguments Value

View source: R/write_data_sheets.R

Description

Add datasheets to a Workbook

Usage

1
2
3
4
5
6
7
write_data_sheets(
  wb,
  datasets,
  default_data_sheet = 2,
  data_marker = getOption("qr.marker", "!data"),
  remove_template = TRUE
)

Arguments

wb

A workbook object

datasets

A list of datasets

default_data_sheet

The worksheet to use as the default datasheet template. Can be either the sheet name or number.

data_marker

This value should be used in the datasheet template to indicate where the tables should be placed. This value will be the upper-left corner of the table.

remove_template

Logical, whether the template sheet should be removed from the final report. Does not have an effect if default_data_sheet is NULL.

Value

An openxlsx workbook object


wurli/quickReport documentation built on Dec. 23, 2021, 6:13 p.m.