Loads data from a LamaPoll survey
Usage
get_lamapoll_data(poll_name = "", only_completed = TRUE)
Arguments
- poll_name
Name of the LamaPoll survey.
- only_completed
If TRUE only the completed records are loaded. Default: TRUE.
Value
Dataframe with the data from the defined survey.
Examples
options(lamamail = "yourmail")
options(lamaapi = "yourapikey")
# Load only completed records
get_lamapoll_data(poll_name = "exampel-survey", only_completed = TRUE)
# Load all records (started and completed)
get_lamapoll_data(poll_name = "exampel-survey", only_completed = FALSE)