Metadata-Version: 2.1
Name: odk2stata
Version: 0.2.5
Summary: Generate a Stata do file for ODK analysis.
Home-page: https://github.com/jkpr/odk2stata
Author: James Pringle
Author-email: jpringle@jhu.edu
License: MIT
Platform: UNKNOWN
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: Implementation :: CPython
Requires-Python: >=3.7.0
Description-Content-Type: text/markdown
Requires-Dist: xlrd (>=1.1.0)
Requires-Dist: Jinja2 (>=2.10)
Requires-Dist: wxpython


# 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




