comment_question | R Documentation |
Has server-side side-effect of posting a comment to a target question. To target a question, specify it in variable_name
. If the question is in a roster, specify the row code as a comma-separated set of coordinates in row_number
.
comment_question(
interview_id,
variable_name,
roster_vector = "",
comment,
verbose = FALSE,
server = Sys.getenv("SUSO_SERVER"),
workspace = Sys.getenv("SUSO_WORKSPACE"),
user = Sys.getenv("SUSO_USER"),
password = Sys.getenv("SUSO_PASSWORD")
)
interview_id |
Character. Interview ID. GUID from server or |
variable_name |
Character. Variable name. User name from Designer. |
roster_vector |
Character. Row code(s) of variable. If a single row code, a single character value (e.g., "102"). If multiple row codes, a character containing a comma-separated list (e.g, "1, 2"). |
comment |
Character. Comment to post. |
verbose |
Logical. If |
server |
Character. Full server web address (e.g., |
workspace |
Character. Name of the workspace whose interviews to get. In workspace list, value of |
user |
Character. API user name |
password |
Character. API password |
Wrapper for POST /api/v1/interviews/{id}/comment-by-variable/{variable}
endpoint
If verbose = FALSE
, no return value. If verbose = TRUE
, return logical outcome.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.