ns_get_data | R Documentation |
This function connects to a specific form and fetches all answers. The responses are placed in a data.frame for easy use.
ns_get_data(form_id, type = NULL)
ns_get_submissions(form_id, type = NULL)
form_id |
integer. Number of the form to retrieve |
type |
Character or NULL. One of either "original" or "long". |
- Returns data in the same tabular format as delivered by Nettskjema.
- Returns the data in tall format, where there are multiple rows per participant (one per question) and each choice is timestamped.
data.frame
ns_get_submissions()
: Alternative function name, does the same.
## Not run:
# Retrieve all data
data_110000 <- ns_get_data(110000)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.