Skip to contents

This function exports a query report, generated using the `rd_query` or `rd_event` functions, to an .xlsx file.

Usage

rd_export(
  ...,
  queries = NULL,
  column = NULL,
  sheet_name = NULL,
  path = NULL,
  password = NULL
)

Arguments

...

List containing the data frame of queries. This list must be the output of the `rd_query` or `rd_event` functions.

queries

Data frame containing the identified queries. If the list is specified, this argument is not required.

column

Character element specifying the column containing the link for each query.

sheet_name

Character element specifying the sheet name of the resulting xlsx file.

path

Character element specifying the file path to save the xlsx file. If `NULL`, the file will be created in the current working directory.

password

String with the password to protect the worksheet and prevent others from making changes.

Value

An .xlsx file containing all the queries and, if available, hyperlinks to each of them.