Checks time zone, setting default if needed:
export_responses_progress
Monitor progress from response request download, then obtain file download
location
export_responses_filedownload
Downloads response data from location obtained from
fetch_survey_progress (extracting from .zip file)
Download complete survey description using the Qualtrics v3 "Get Survey"
API endpoint.
Extract column map from survey data download
Read a CSV file exported from Qualtrics
Read a CSV file exported from Qualtrics
Retrieve a data frame containing survey column mapping
Retrieve a data frame of all active surveys on Qualtrics
Download a survey and import it into R
Checks responses against Qualtrics response codes and returns error message.
Set proper data types on survey data.
Runs 3-part request to export-responses endpoint,
downloading and unzipping file
Initiate a request to the export-responses API endpoint
Generate URL for specific API query by type and (if appropriate) ID
Send httr requests to Qualtrics API
Retrieve a data frame containing question IDs and labels
Download a survey and import it into R
checkarg_include_embedded
Check include_embedded and format for API call:
Check if survey file specified in file_name exists
Convert multiple choice questions to ordered factors
Retrieve a data frame containing question IDs and labels
Check if the temporary directory exists:
Check limit for being integer >= 1:
fetch_distribution_history
Download distribution history data for a distribution from Qualtrics
Download distribution links for a distribution from Qualtrics
Download metadata for a survey
Download distribution data for a survey from Qualtrics
Is character vector with no missing values:
Fetch a unique Qualtrics survey ID based on survey name in the Qualtrics UI
Download a mailing list from Qualtrics
Create properly-formatted JSON payload for API calls. Removes NULLS
Construct a header to send to Qualtrics API
Prints an Example of a QualtRics Configuration File to the Console.
qualtrics_api_credentials
Install Qualtrics credentials in your .Renviron
file for repeated use
Retrieve a data frame of all active surveys on Qualtrics
Check if downloaded file already exists
Retrieve a data frame of all mailing lists from Qualtrics
General check that credentials are present
Check if httr GET result contains a warning
Is integerish (length-1 numeric w/o any fractional component)
col_types must be a col_spec object from readr
Check if elements given in fetch_description are properly specified
Checking and re-formatting base_url:
checkarg_convert_label_breakouts
Check conditions around combinations of convert, label, and breakout_sets
Title Check date-time-like inputs and convert them to ISO8601 (with time
zone)
Is string (length-1 character)
Is boolean (length-1 logical)
Check if elements given in metadata's 'get' are properly specified
Check if data for fetch_id() is correct
checkarg_include_metadata
Check that include_metadata has the right elements & format for API call
checkarg_include_questions
Check that include_questions uses the QID format, and format for API call: