Skip to main content

Survey package for reporting on survey data from Qualtrics.

Project description

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.dev1.tar.gz (13.2 kB view details)

Uploaded Source

Built Distribution

surveyhelper-0.1.1.dev1-py3-none-any.whl (15.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for surveyhelper-0.1.1.dev1.tar.gz
Algorithm Hash digest
SHA256 4309c4aa672f2b054f16b5f55a619ec79a6ab0a2e2e6edfa46862425e2efa16d
MD5 2d600c65e4fb2440c3ff1e09a9483dd0
BLAKE2b-256 680cce8cb7dca7560688bfe09ee0bd72d96cf1c68e7bf7c7214304c07ca41884

See more details on using hashes here.

File details

Details for the file surveyhelper-0.1.1.dev1-py3-none-any.whl.

File metadata

File hashes

Hashes for surveyhelper-0.1.1.dev1-py3-none-any.whl
Algorithm Hash digest
SHA256 2bbe47cb3221817d9ff04c3b49f20dbfd597487ec7784baf0bddbfbf76cd780f
MD5 27f40b8ebc9503174a3852c3ff40d687
BLAKE2b-256 fb1d5726e1a2c8b3e275865b03725f6c9bf82493427be111c1162e1db7bb0df9

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