Skip to main content

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
Filename, size odk2stata-0.2.5.tar.gz (33.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page