Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Generate a Stata do file for ODK analysis.

Project description


To install odk2stata for the first time, run:

python3 -m pip install odk2stata


If you already have odk2stata installed, then run:

python3 -m pip install odk2stata --upgrade

Generate a Stata do file from an XlsForm

The do file does various useful things, including:

  • Import the dataset with all string variables
  • Drop columns, notes by default
  • Rename columns
  • Destring numeric types
  • Encode select_one variables with the name or the label
  • Split select_multiple variables
  • Label the column variables, using the label by default

Project details

Download files

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

Files for odk2stata, version 0.2.5
Filename, size File type Python version Upload date Hashes
Filename, size odk2stata-0.2.5-py3-none-any.whl (53.3 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size odk2stata-0.2.5.tar.gz (33.4 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page