Skip to contents

Authentication

Authentication functions to securely access your SurveyMonkey account.

get_token()
Retrieve SurveyMonkey OAuth Token
set_token()
Set SurveyMonkey OAuth Token

Design your survey

Functions to create, modify, and upload questionnaires for SurveyMonkey surveys.

read_qdoc()
Process a questionnaire
upload_qdoc()
Upload processed questionnaire to SurveyMonkey
qdoc.question() as.qdoc.question() qdoc.q()
Process a questionnaire question

Browse your surveys

Functions to browse existing surveys, questions, and templates available for you.

browse_question_bank()
Browse user's question bank
browse_surveys()
Browse user's surveys
browse_team_templates()
Browse user's team's templates
browse_templates()
Browse user's survey templates

Download your survey responses

Functions to download and parse survey responses.

fetch_survey_obj()
Download a survey's responses
parse_survey()
Take a survey object and parse it into a tidy dataframe.

Analyze your survey

Functions to analyze your survey.

esti_moe()
Estimate the margin of error for an overall survey or a single question
simu_moe()
Simulate the margin of error for an overall survey or a single question
design_eff()
Estimate the Kish design effect of using a set of weights
n_eff()
Estimate the Kish effective sample size of using a set of weights

Process your survey

Functions to process your survey data.

code_age_vars()
Code demographic variables in responses
code_educ_vars()
Code demographic variables in responses
code_geo_vars()
Code demographic variables in responses
code_ideo_vars()
Code demographic variables in responses
code_income_vars()
Code demographic variables in responses
code_party_vars()
Code demographic variables in responses
code_race_vars()
Code demographic variables in responses
code_sex_vars()
Code demographic variables in responses
code_std_demo_vars()
Code demographic variables in responses
std_demo_vars()
Code demographic variables in responses
find_skip_rules()
Find and code skip rules from survey responses

Weight your survey

Functions to weight your survey.

get_target()
Get a SurveyMonkey target population
list_targets()
Look up SurveyMonkey target populations
look_up_weighting_question()
Look up weighting survey question
look_up_weighting_variable()
Look up weighting target variable
weight_to()
Weight your survey

Make banners

Functions to turn your survey into banners and cross-tabs.

make_banners()
Create banners from survey data
upload_banners()
Upload banners file to Google Drive
write_banners()
Format and save banner object to file

Datasets

Simulated datasets to play around with.

ev22
SVMK Electric Vehicles Survey 2022 Study
smda23
SVMK Social Media Usage 2023 Study