View source: R/questionnaires.R
get_questionnaire_document | R Documentation |
Fetches JSON representation of the questionnaire. Save it to disk. Wrapper for GET /api/v1/questionnaires/{id}/{version}/document
endpoint
get_questionnaire_document(
qnr_id,
qnr_version,
path,
server = Sys.getenv("SUSO_SERVER"),
workspace = Sys.getenv("SUSO_WORKSPACE"),
user = Sys.getenv("SUSO_USER"),
password = Sys.getenv("SUSO_PASSWORD")
)
qnr_id |
Character. Questionnaire ID. GUID from server |
qnr_version |
Numeric. Version number of questionnaire |
path |
Character. Directory where export JSON representation of the questionnaire should be downloaded |
server |
Character. Full server web address (e.g., |
workspace |
Character. Name of the workspace whose questionnaire document to get. In workspace list, value of |
user |
Character. API user name |
password |
Character. API password |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.