Skip to content

Managing Surveys

Owen Selles edited this page Jun 3, 2015 · 12 revisions

1. Create a new survey object

s = survey('SV_3x6Wxona1Hnp2nz')

2. Get information about the survey

s.describe()
name:           Python Qual to MySQL Testing
qid:            SV_3x6Wxona1Hnp2nz
owner:          UR_ebajx7Cp5sOagfz
status:         1
creation:       2014-10-28 14:40:36
sqlid:          False
last refresh:   False
qualtrics:      2
mysql:          0

3. Add survey schema and data to MySQL

s.update_sql()

4. Clear out and reload survey data

s.clear_data()
s.update_sql()

5. Overhaul survey schema if it has changed

s.overhaul()