Skip to main content

Generate a Stata do file for ODK analysis.

Project description

Installation

To install odk2stata for the first time, run:

python3 -m pip install odk2stata

Upgrade

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.

Source Distribution

odk2stata-0.2.4.tar.gz (30.8 kB view hashes)

Uploaded Source

Built Distribution

odk2stata-0.2.4-py3-none-any.whl (50.0 kB view hashes)

Uploaded Python 3

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