ns_get_form_reports | R Documentation |
Each Nettskjema form has several auxiliary forms that can be retrieved.
ns_get_form_reports(
form_id,
type = c("csv", "excel", "spss"),
path = report_path(form_id, type)
)
form_id |
integer. Number of the form to retrieve |
type |
Character. Either "csv", "excel" or "spss". |
path |
Character. Full path to where the downloaded file should be saved. Defaults to current directory with correct extension. |
httr2-response
## Not run:
ns_get_form_reports(10009, type="csv")
ns_get_form_reports(10009, type="excel")
ns_get_form_reports(10009, type="spss")
ns_get_form_reports(
10009,
type="spss",
path = "~/Desktop/10009/form.sav"
)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.