Generate a Stata do file for ODK analysis.
Project description
Check out the docs hosted over at Amazon S3
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
Installation
Pour installer odk2stata
pour la première fois, lancez :
python3 -m pip install odk2stata
Ameliorer
Si vous avez déjà installé odk2stata
, lancez :
python3 -m pip install odk2stata --upgrade
Gênerez un fichier Stata do à partir d’un XlsForm
Le fichier do fait diverses choses utiles, y compris :
- Importer l’ensemble de données avec tous les strings de variables
- Déposez les colonnes ainsi que aussi les notes par défaut
- Rebaptiser les colonnes
- (Destring) Conversion de variables numériques en variables en chaîne
- Encoder les variables avec le nom ou le label
select_one
- Fractionner les variables `select multiple
- Labelliser les variables de colonne, en utilisant le label par défaut
Project details
Release history Release notifications | RSS feed
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.6.tar.gz
(35.8 kB
view hashes)
Built Distribution
odk2stata-0.2.6-py3-none-any.whl
(52.8 kB
view hashes)
Close
Hashes for odk2stata-0.2.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b78abcffc038a4007199ae5055a6bb1126047d534ad2809acd9dd48d15325218 |
|
MD5 | 39d8a66cf1dcbfd75539472b1d115b16 |
|
BLAKE2b-256 | 4440b5b2d6a52e3fe99865cb94f08ed60e20c7e6bebc07f1bd93fe54de43817b |