ls_responses | R Documentation |
Fetches responses and applies so-called "R-syntax" transformation script from
LimeSurvey pertaining factor levels and items labels (those are readily
available in RStudio data frame preview and can be extracted using
attr(.data, "label")
). By default, the function attempts to "clean" the
labels (clean_labels
argument), keeping only the content inside [...]
, if
there are any.
ls_responses(
survey_id,
clean_labels = TRUE,
lang = "cs",
part = "all",
standardize_dates = TRUE,
...
)
survey_id |
integer, ID of the survey (as found with |
clean_labels |
logical, whether to clean labels of subquestions from
repeating parts. Defaults to |
lang |
character, ISO 639 language code, default to |
part |
character, completion status, either |
standardize_dates |
logical, whether to standardize dates to |
... |
other named arguments used by "export_responses" method. Use at your own risk. |
A tibble, or raw object if server response cannot be reasonably coerced to a tibble.
Other LimeSurvey functions:
ls_add_participants()
,
ls_call()
,
ls_export()
,
ls_get_attrs()
,
ls_invite()
,
ls_login()
,
ls_participants()
,
ls_set_participant_properties()
,
ls_surveys()
## Not run:
ls_responses(123456)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.