qualtRics

qualtRics: retrieve survey data using the Qualtrics API - Published in JOSS (2018)

https://github.com/ropensci/qualtrics

Science Score: 95.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org, zenodo.org
  • Committers with academic emails
    3 of 24 committers (12.5%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

api qualtrics qualtrics-api r r-package rstats survey survey-data

Keywords from Contributors

tidy-data tidyverse standardization
Last synced: 6 months ago · JSON representation

Repository

Download ⬇️ Qualtrics survey data directly into R!

Basic Info
Statistics
  • Stars: 225
  • Watchers: 20
  • Forks: 71
  • Open Issues: 45
  • Releases: 16
Topics
api qualtrics qualtrics-api r r-package rstats survey survey-data
Created over 9 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog License

README.Rmd

---
output: github_document
---



```{r, include = FALSE}
knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)
```

# qualtRics

**Authors:** 
[Julia Silge](https://juliasilge.com/), 
[Joseph O'Brien](joseph.m.obrien@gmail.com),
[Jasper Ginn](https://jasperhg90.github.io/)
**License:** [MIT](https://opensource.org/license/mit) [![R-CMD-check](https://github.com/ropensci/qualtRics/workflows/R-CMD-check/badge.svg)](https://github.com/ropensci/qualtRics/actions) [![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/qualtRics)](https://cran.r-project.org/package=qualtRics) [![Codecov test coverage](https://codecov.io/gh/ropensci/qualtRics/branch/master/graph/badge.svg)](https://app.codecov.io/gh/ropensci/qualtRics?branch=master) [![rOpenSci](https://badges.ropensci.org/192_status.svg)](https://github.com/ropensci/software-review/issues/192) [![DOI](https://zenodo.org/badge/70817337.svg)](https://zenodo.org/badge/latestdoi/70817337) [![DOI](https://joss.theoj.org/papers/10.21105/joss.00690/status.svg)](https://doi.org/10.21105/joss.00690) [![Downloads](https://cranlogs.r-pkg.org/badges/qualtRics)](https://CRAN.R-project.org/package=qualtRics) [![Total Downloads](https://cranlogs.r-pkg.org/badges/grand-total/qualtRics?color=orange)](https://CRAN.R-project.org/package=qualtRics) [![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active) [Qualtrics](https://www.qualtrics.com/) is an online survey and data collection software platform. Qualtrics is used across many domains in both academia and industry for online surveys and research. While users can manually download survey responses from Qualtrics through a browser, importing this data into R is then cumbersome. The qualtRics R package implements the retrieval of survey data using the Qualtrics API and aims to reduce the pre-processing steps needed in analyzing such surveys. Currently, this package is the only package on CRAN that offers such functionality, and is included in the official Qualtrics API documentation. Note that your institution must support API access and that it must be enabled for your account. Whoever manages your Qualtrics account can help you with this. Please refer to the [Qualtrics documentation](https://api.qualtrics.com/) to find your API token. The authors of this package are not affiliated with Qualtrics, and Qualtrics does not offer support for this package. For specific information about the Qualtrics API, you can refer to the [official documentation](https://api.qualtrics.com/). ## Installation This package can be installed from CRAN: ```{r eval=FALSE} install.packages("qualtRics") ``` Alternatively, you can install the development version with the [remotes](https://cran.r-project.org/package=remotes) package (or alternatively, [devtools](https://cran.r-project.org/package=devtools)): ```{r eval=FALSE} install.packages("remotes") remotes::install_github("ropensci/qualtRics") ``` ## Access your Qualtrics data Currently, the package contains three core functions: 1. `all_surveys()` fetches a list of all surveys that you own or have access to from Qualtrics. 2. `fetch_survey()` downloads a survey from Qualtrics and loads it into R. 3. `read_survey()` allows you to read CSV files you download manually from Qualtrics. It also contains [multiple helper functions](https://docs.ropensci.org/qualtRics/reference/index.html#other-helper-functions), including: 1. `qualtrics_api_credentials()` stores your API key and base URL in environment variables. 2. `survey_questions()` retrieves a data frame containing questions and question IDs for a survey; `extract_colmap()` retrieves a similar data frame with more detailed mapping from columns to labels. 3. `metadata()` retrieves metadata about your survey, such as questions, survey flow, number of responses etc. Note that you can only export surveys that you own, or to which you have been given administration rights. ## Register your Qualtrics credentials There are two important credentials you need to authenticate with the Qualtrics API. These are your **API key** and **datacenter-specific base URL**. The base URL you pass to the qualtRics package should look like `yourdatacenterid.qualtrics.com`, without a scheme such as `https://`. The [Qualtrics API documentation](https://api.qualtrics.com/) explains how you can find your base URL. You can store your API credentials `QUALTRICS_API_KEY` and `QUALTRICS_BASE_URL` in your `.Renviron` file for repeated use across sessions. The qualtRics package has a function to help with this. ```{r, eval=FALSE} library(qualtRics) qualtrics_api_credentials(api_key = "", base_url = "", install = TRUE) ``` After you use this function, reload your environment (`readRenviron("~/.Renviron")`) so you can use the credentials without restarting R. ## A simple Qualtrics workflow Once your Qualtrics API credentials are stored, you can see what surveys are available to you. ```{r, eval=FALSE} surveys <- all_surveys() ``` You can then download the data from any of these individual surveys (for example, perhaps the sixth one) directly into R. ```{r, eval=FALSE} mysurvey <- fetch_survey(surveyID = surveys$id[6], verbose = TRUE) ``` See the qualtRics vignette for more details on variable metadata, automatic conversion of variables, retrieving responses between specific dates or for specific survey items, and more. ## Related work - [Jason Bryer](https://github.com/jbryer/qualtrics) wrote an R package to work with the previous version of the Qualtrics API - [QualtricsTools](https://github.com/emma-morgan/QualtricsTools) creates automatic reports in shiny. - [qsurvey](https://github.com/jamesdunham/qsurvey) by James Dunham focuses on testing and review of surveys before fielding, and analysis of responses afterward. ### Community Guidelines This project is released with a [Contributor Code of Conduct](https://github.com/ropensci/qualtRics/blob/master/CONDUCT.md). By participating in this project you agree to abide by its terms. Feedback, bug reports (and fixes!), and feature requests are welcome; file issues or seek support [here](https://github.com/ropensci/qualtRics/issues). [![ropensci_footer](https://ropensci.org/public_images/ropensci_footer.png)](https://ropensci.org)

Owner

  • Name: rOpenSci
  • Login: ropensci
  • Kind: organization
  • Email: info@ropensci.org
  • Location: Berkeley, CA

JOSS Publication

qualtRics: retrieve survey data using the Qualtrics API
Published
April 21, 2018
Volume 3, Issue 24, Page 690
Authors
Jasper Ginn ORCID
Ecole Polytechnique Federale de Lausanne (EPFL)
Editor
Karthik Ram ORCID
Tags
survey data API Qualtrics

Papers & Mentions

Total mentions: 3

Informal coercion during childbirth: risk factors and prevalence estimates from a nationwide survey of women in Switzerland
Last synced: 4 months ago
COVIDiSTRESS Global Survey dataset on psychological and behavioural consequences of the COVID-19 outbreak
Last synced: 4 months ago
A global dataset of inland fisheries expert knowledge
Last synced: 4 months ago

GitHub Events

Total
  • Issues event: 21
  • Watch event: 9
  • Delete event: 2
  • Issue comment event: 55
  • Push event: 13
  • Pull request event: 9
  • Fork event: 2
  • Create event: 2
Last Year
  • Issues event: 21
  • Watch event: 9
  • Delete event: 2
  • Issue comment event: 55
  • Push event: 13
  • Pull request event: 9
  • Fork event: 2
  • Create event: 2

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 756
  • Total Committers: 24
  • Avg Commits per committer: 31.5
  • Development Distribution Score (DDS): 0.394
Past Year
  • Commits: 9
  • Committers: 1
  • Avg Commits per committer: 9.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Jasper Ginn j****n@h****m 458
Julia Silge j****e@g****m 163
Julia Silge j****e@s****m 25
Daniel Seneca s****h@g****m 21
Joseph O'Brien j****n@g****m 21
O'Brien y****u@e****m 14
Shaun Jackson s****n@g****m 10
Stefan Borer s****r@i****h 8
Phoebe p****g@b****u 7
samuelkaminsky s****y@g****m 6
jntrcs j****0@g****m 5
Chris Umphlett 7****t 4
lyh970817 3****7 2
Eric Knudsen e****d 2
Daniel m****l@d****e 1
Jeanette Clark j****k@n****u 1
Mark Rieke 3****e 1
Maëlle Salmon m****n@y****e 1
Michael W. Kearney k****w@m****u 1
Nicholas Vasile N****e@c****m 1
Jackson Curtis j****c@q****m 1
Daniel Seneca s****d@s****m 1
Ryan Haunfelder h****d@g****m 1
Sean Murphy s****y@g****m 1

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 113
  • Total pull requests: 50
  • Average time to close issues: 4 months
  • Average time to close pull requests: about 1 month
  • Total issue authors: 77
  • Total pull request authors: 13
  • Average comments per issue: 5.38
  • Average comments per pull request: 3.04
  • Merged pull requests: 30
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 13
  • Pull requests: 8
  • Average time to close issues: about 1 month
  • Average time to close pull requests: 4 days
  • Issue authors: 13
  • Pull request authors: 3
  • Average comments per issue: 2.54
  • Average comments per pull request: 0.38
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • jmobrien (11)
  • juliasilge (10)
  • chrisumphlett (7)
  • asadow (4)
  • zaslove (3)
  • saritpery (2)
  • vjbrady68 (2)
  • isaacahuvia (2)
  • rempsyc (2)
  • g11217 (2)
  • joey-levy (2)
  • Rory-OG (1)
  • AmosBunde (1)
  • cndunham (1)
  • cs40404 (1)
Pull Request Authors
  • jmobrien (19)
  • juliasilge (17)
  • chrisumphlett (5)
  • dsen6644 (3)
  • JeffreyRStevens (2)
  • Haunfelder (2)
  • aaronball85 (1)
  • jeanetteclark (1)
  • jamesmartherus (1)
  • WillForan (1)
  • anisfeld (1)
  • essentialols (1)
  • lyh970817 (1)
Top Labels
Issue Labels
feature (19) api access (16) help wanted (7) bug (4) discussion (4) documentation (4)
Pull Request Labels

Packages

  • Total packages: 3
  • Total downloads:
    • cran 2,299 last-month
  • Total docker downloads: 110,722
  • Total dependent packages: 1
    (may contain duplicates)
  • Total dependent repositories: 7
    (may contain duplicates)
  • Total versions: 33
  • Total maintainers: 1
proxy.golang.org: github.com/ropensci/qualtRics
  • Versions: 8
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 6 months ago
proxy.golang.org: github.com/ropensci/qualtrics
  • Versions: 8
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.4%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 6 months ago
cran.r-project.org: qualtRics

Download 'Qualtrics' Survey Data

  • Versions: 17
  • Dependent Packages: 1
  • Dependent Repositories: 7
  • Downloads: 2,299 Last month
  • Docker Downloads: 110,722
Rankings
Forks count: 1.0%
Stargazers count: 2.1%
Downloads: 8.3%
Dependent repos count: 11.1%
Average: 11.3%
Dependent packages count: 18.1%
Docker downloads count: 27.3%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • cli * imports
  • dplyr >= 1.0 imports
  • glue * imports
  • httr * imports
  • jsonlite * imports
  • lifecycle * imports
  • lubridate * imports
  • purrr * imports
  • readr * imports
  • rlang * imports
  • sjlabelled * imports
  • stringr * imports
  • tibble * imports
  • tidyr * imports
  • covr * suggests
  • knitr * suggests
  • rmarkdown * suggests
  • testthat * suggests
  • vcr * suggests
  • webmockr * suggests
.github/workflows/R-CMD-check.yaml actions
  • actions/checkout v3 composite
  • r-lib/actions/check-r-package v2 composite
  • r-lib/actions/setup-pandoc v2 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/test-coverage.yaml actions
  • actions/checkout v3 composite
  • actions/upload-artifact v3 composite
  • r-lib/actions/setup-r v2 composite
  • r-lib/actions/setup-r-dependencies v2 composite