Skip to content

openstax/kineticPreproc

Repository files navigation

kineticPreproc

TLDR; Qualtrics data preprocessor for Kinetic

This package helps pull data from Kinetic by connecting to the Qualtrics API, and preprocesses the data to remove test data, incompletes, minor respondents, etc. It includes the following functions visible to the end user that supports all the required processes:

Overall flow

install.packages("devtools")
library(devtools)


## To install kineticPreproc Package
install_github("openstax/kineticPreproc")

library(kineticPreproc)

# Install all packages and make them readily accessible
make_packages_available(packages_needed = c("qualtRics", "tidyverse", "excluder"))

## Connecting to Qualtrics
qualtrics_cred_file <- "~/Documents/GitHub/research-kinetic-pipeline/qualtrics_cred.txt"

connect_to_qualtrics(qualtrics_credential = qualtrics_cred_file)

## Getting data
demographics <- get_survey_data(selected_kinetic_survey_kwd = "Kinetic-Demographic")

## Preprocessing data
demographics_clean <- preprocess_demographics_df(demographics)

## Other examples (IDT)
IDT <- get_survey_data(selected_kinetic_survey_kwd = "IDT")
IDT_clean <- preprocess_qualtrics_df(IDT)  

About

Qualtrics data preprocessor for Kinetic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages