rd_export {REDCapDM}R Documentation

Exporting the dataset of the queries

Description

This function allows you to export the previously identified queries 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. It may be the output of the 'rd_query' or 'rd_event' functions.

queries

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

column

Character element specifying the column containing the link of 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 is 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 one of them.


[Package REDCapDM version 0.9.9 Index]