Skip to main content

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


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 details)

Uploaded Source

Built Distribution

odk2stata-0.2.6-py3-none-any.whl (52.8 kB view details)

Uploaded Python 3

File details

Details for the file odk2stata-0.2.6.tar.gz.

File metadata

  • Download URL: odk2stata-0.2.6.tar.gz
  • Upload date:
  • Size: 35.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.1

File hashes

Hashes for odk2stata-0.2.6.tar.gz
Algorithm Hash digest
SHA256 e4024785cd3ba00dba2043fb6fc17c75a6c16c600d25ea451268696f6a7a2446
MD5 e7b4a4e68cc06c78cc5e564faf65a481
BLAKE2b-256 e1b58ab6407558503c80bb15d66a3a0cbdd62bd4bf162d9f3a5a5285b2e3a5c4

See more details on using hashes here.

File details

Details for the file odk2stata-0.2.6-py3-none-any.whl.

File metadata

  • Download URL: odk2stata-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 52.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.10.0 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.1

File hashes

Hashes for odk2stata-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 b78abcffc038a4007199ae5055a6bb1126047d534ad2809acd9dd48d15325218
MD5 39d8a66cf1dcbfd75539472b1d115b16
BLAKE2b-256 4440b5b2d6a52e3fe99865cb94f08ed60e20c7e6bebc07f1bd93fe54de43817b

See more details on using hashes here.

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