get_questionnaires: Get all questionnaires

View source: R/questionnaires.R

get_questionnairesR Documentation

Get all questionnaires

Description

Get list of all questionnaires and their attributes

Usage

get_questionnaires(
  server = Sys.getenv("SUSO_SERVER"),
  workspace = Sys.getenv("SUSO_WORKSPACE"),
  user = Sys.getenv("SUSO_USER"),
  password = Sys.getenv("SUSO_PASSWORD")
)

Arguments

server

Character. Full server web address (e.g., https://demo.mysurvey.solutions, https://my.domain)

workspace

Character. Name of the workspace whose questionnaires to get. In workspace list, value of NAME, not ⁠DISPLAY NAME⁠, for the target workspace.

user

Character. API user name

password

Character. API password

Details

GraphQL implementation of the deprecated REST ⁠GET​/api​/v1​/questionnaires⁠ endpoint.

Value

Data frame of questionnaires.


arthur-shaw/susoapi documentation built on Oct. 15, 2024, 3:44 a.m.