dacot: DataCOVID Transformer
dacot genera nuevos datasets a partir de los datos disponibles en los
Estudios de movilidad a partir de la telefonía móvil"
realizados por el Instituto Nacional de Estadística. Se recomienda leer y
entender la información suministrada por el INE para entender el alcance de
dichos estudios.
Cada ejecución de dacot genera un nuevo directorio dentro de data/output/
con el formato output_ESTUDIO_YYYYMMDD-VERSION donde:
ESTUDIOse corresponde al estudio correspondiente (em2oem3)YYYYse corresponde al año (2020)MMse corresponde al mes (10)DDse corresponde al día (01)VERSIONse corresponde a la versión del programa utilizada.
Dentro de este directorio se generan directorios adicionales, con el formato
YYYY-MM-DD correspondientes a los datos del INE. Dentro de cada uno de éstos
se encuentran dos directorios adicionales:
original: contiene los ficheros originales del INE, sin modificaciones.province flux: contiene los datasets generados con información de provincia, con los siguientes ficheros:flux.csv: Flujos (> 15 personas) con información provincial.flux-inter.csv: Flujos (> 15 personas) interprovinciales.flux-intra.csv: Flujos (> 15 personas) intraprovinciales.
Asimismo, estos ficheros se concatenan y se guardan el el directorio de salida.
Instalación
Se recomienda utilizar un virtualenv:
virtualenv --python python3 .venv
source .venv/bin/activate
pip install .
Uso
Una vez instalado se puede ejecutar el programa dacot:
$ dacot em2
dacot version 0.0.1.dev1
Checking directories...
Base path: data
INE data download path: data/raw/datos_disponibles_20201021-0.0.1.dev1.zip
Interim data path: data/interim
Output directory path: data/output/output_20201021-0.0.1.dev1
(...)
O bien, sin instalarlo:
$ python dacot/run.py
Acknowledgements
Este programa forma parte del proyecto distancia COVID CSICCOV19-039, que ha sido posible gracias al apoyo del CSIC y de Aena.
Metadata
Release files for dacot 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dacot-2.0.0.tar.gz | 218.7 kB | Without provenance | Details for dacot-2.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dacot-2.0.0-py3-none-any.whl | Python 3 | none | any | Details for dacot-2.0.0-py3-none-any.whl |
Total release size: 229.2 kB
Release files / dacot-2.0.0.tar.gz
| Download URL | dacot-2.0.0.tar.gz |
|---|---|
| Size | 218.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6af6f0160cc5e3fe72bbcbab6b6e246f14d5cf36c809a9dc1bfc4564552d4e8
|
|
BLAKE2b-256 checksum How to use checksums |
6aa42e54bfb1511680360d2c3043d4f4a102c6a1e528da7da53877df888876b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6
|
Release files / dacot-2.0.0-py3-none-any.whl
| Download URL | dacot-2.0.0-py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7e36b7dc9d003b13a49805c328da43399e110a5d6653e576969414a5b0c49c14
|
|
BLAKE2b-256 checksum How to use checksums |
5c202f3c8f0b21f055b874a99aab78bfe884ec01a300ccb6d66424e18c2ba9a7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6
|
Security for dacot 2.0.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.