Skip to main content

Survey package for reporting on survey data from Qualtrics.

Project description

Installation

Please note that this package is only available for Python 3.

pip install surveyhelper

Overview

SurveyHelper is a Python 3 package currently under development. It will provide utilities for analyzing and visualizing survey data. It is initially geared at reading surveys in from Qualtrics by parsing a .qsf file and a response file. At present, it creates html frequency reports using d3.js.

Example usage:

import surveyhelper as sh

p = sh.QsfParser("my_qualtrics_file.qsf")
c = p.create_codebook()

for label in ['Q1', 'Q2', 'Q3']:
    c.questions[label].exclude_choices_from_analysis(['Not applicable'])

for label in ['Q2', 'Q3']:
    c.questions[label].change_scale('ordinal')

c.questions['Q1'].reverse_choices()
c.questions['Q1'].change_midpoint(2)

# Remove initial numbering from question text
for label, q in c.questions.items():
    q.text = re.sub(r'[0-9]\. ','', q.text)


r = sh.ResponseSet("my_qualtrics_responses.csv", c)
f = sh.FrequencyReport(r, 'config.yml')
f.create_report()

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

surveyhelper-0.1.1.dev3.tar.gz (13.9 kB view details)

Uploaded Source

File details

Details for the file surveyhelper-0.1.1.dev3.tar.gz.

File metadata

File hashes

Hashes for surveyhelper-0.1.1.dev3.tar.gz
Algorithm Hash digest
SHA256 ba02c0e84dd79614481dfd5254662b62bb51959415b26c6305272bb361c14215
MD5 287d786872586a672304dbc610a6695c
BLAKE2b-256 89d33de53798ce37e1ced29cc4f2771a16d58396ae6b8f062b56bc5d46dc1379

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page