brendanhcullen / score-qualtrics-template

Template workflow for working with the scorequaltrics R package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

score-qualtrics-template

This is a template workflow for the scorequaltrics R package developed by John Flournoy to score Qualtrics surveys.

Generating a credentials file

To pull data from Qualtrics, you need a credentials file with an API token associated with your account. To create the file, follow these steps.

  1. Generate an API token for Qualtrics. Follow the steps outlined here

  2. Create credentials.yaml.DEFAULT in the credentialDir and add API token information

credentialDir='/Users/danicosme/' #replace with your path

if [ ! -f ${credentialDir}qualtrics_credentials.yaml ]; then
  cd ${credentialDir}
  touch qualtrics_credentials.yaml
  echo "token: Ik0XNN...." >> qualtrics_credentials.yaml #replace with your token information
  echo "baseurl: oregon.qualtrics.com" >> qualtrics_credentials.yaml
  echo "credential file created"
else
  echo "credential file already exists in this location"
fi

About

Template workflow for working with the scorequaltrics R package


Languages

Language:HTML 100.0%