Export a query dataset (e.g., from rd_query or rd_event) to an .xlsx file. The function can optionally convert a column of URLs into Excel hyperlinks and apply password protection to the worksheet.
Usage
rd_export(
project = NULL,
queries = NULL,
column = NULL,
sheet_name = NULL,
path = NULL,
password = NULL
)Arguments
- project
A list containing the dataframe of queries and results (expected
rd_queryorrd_eventoutput). Overridesqueries.- queries
A data frame of identified queries.
- column
Name of the column containing URLs to convert into hyperlinks. If
NULL, hyperlinks are added only if aLinkcolumn exists.- sheet_name
Name of the Excel sheet in the resulting
.xlsxfile. Default:"Sheet1".- path
File path for saving the
.xlsxfile. IfNULL, the file is saved as"example.xlsx"in the working directory.- password
Optional password to protect the worksheet from edits.
