Description Usage Arguments Value Examples
View source: R/archive_asgmts.R
archive_asgmts
archives the assignments corresponding to the ID number(s)
provided.
unarchive_asgmts
unarchive the assignments corresponding to the ID number(s)
provided.
1 2 3 | archive_asgmts(ids = NULL, server = "", user = "", password = "")
unarchive_asgmts(ids = NULL, server = "", user = "", password = "")
|
ids |
Assignment IDs to archive or unarchive. This accepts a vector so multiple assignments can be archived or unarchived at once. |
server |
Prefix for the survey server. It is whatever comes before mysurvey.solutions: [prefix].mysurvey.solutions. |
user |
Username for the API user on the server. |
password |
Password for the API user on the server. |
Assignments corresponding to the ID number provided are archived or unarchived.
1 2 3 4 5 6 7 8 9 10 11 12 | ## archive assignments with ID numbers 4, 18, 195
## Not run:
archive_asgmts(ids = c(4, 18, 195), server = "lfs2018",
user = "APIuser2018", password = "SafePassword123")
## End(Not run)
## unarchive assignments with ID numbers 4, 18, 195
## Not run:
unarchive_asgmts(ids = c(4, 18, 195), server = "lf2018",
user = "APIuser2018", password = "SafePassword123")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.