| exportPdf {redcapAPI} | R Documentation |
Export PDF file of Data Collection Instruments
Description
These methods allow the user to download PDF files of data collection instruments. The download may be with or without collected data; and may return a single record, multiple records, or all records.
Usage
exportPdf(
rcon,
dir,
filename = "redcap_forms_download",
record = NULL,
events = NULL,
instruments = NULL,
all_records = FALSE,
...
)
## S3 method for class 'redcapApiConnection'
exportPdf(
rcon,
dir,
filename = "redcap_forms_download",
record = NULL,
events = NULL,
instruments = NULL,
all_records = FALSE,
...,
error_handling = getOption("redcap_error_handling"),
config = list(),
api_param = list()
)
Arguments
rcon |
A |
dir |
|
filename |
|
record |
|
events |
|
instruments |
|
all_records |
|
... |
Arguments to pass to other methods |
error_handling |
|
config |
A named |
api_param |
A named |
Details
These methods mimics the behavior of "Download PDF of Instruments" button on the REDCap user interface. They permit the user to export a PDF file for:
A single collection instrument (blank)c
All instruments (blank)
A single instrument (with data from a single record)c
All instruments (with data from a single record)
All instruments (with data from all records)
Value
exportPdf invisibly returns the location on the local system
to whihc the files is saved.
See Also
exportMetaData(),
importMetaData(),
exportFieldNames(),
exportInstruments(),
exportMappings(),
importMappings()