download_data | R Documentation |
Executes full download process for a single export job.
download_data(
qnr_id,
export_type,
interview_status = "All",
from = "",
to = "",
access_token = "",
refresh_token = "",
storage_type = "",
translation_id = "",
include_meta = TRUE,
path,
server = Sys.getenv("SUSO_SERVER"),
workspace = Sys.getenv("SUSO_WORKSPACE"),
user = Sys.getenv("SUSO_USER"),
password = Sys.getenv("SUSO_PASSWORD")
)
qnr_id |
Questionnaire ID. Format: |
export_type |
Type of data to export. Values: |
interview_status |
Status of interviews to export. Values: |
from |
Start date for interviews to export. date-time, UTC |
to |
End date for interviews to export. date-time, UTC |
access_token |
Access token to external storage. Relevant only if external cloud storage is destination for the export file. |
refresh_token |
Refresh token to external storage.Relevant only if external cloud storage is destination for the export file. |
storage_type |
External storage type, if relevant. Values: |
translation_id |
Translation ID for variable and value labels to include in export files. |
include_meta |
Logical. If |
path |
File path where export file should be downloaded |
server |
Full server web address (e.g., |
workspace |
Character. Name of the workspace whose data to download. |
user |
API user name |
password |
API password |
Starts export job. Specifies the parameters of the download job through the qnr_id
, export_type
, interview_status
, from
, to
, access_token
, refresh_token
, storage_type
, translation_id
, and include_meta
parameters
Gets regular updates on the progress of the export job. Messages about progress.
Downloads file to desired destination. Use the path
parameter to specify where the export file should be saved.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.