Skip to main content

ExeTeraCovid

Welcome to the ExeTeraCovid Readme!

Current Release v0.2.0.1

This page and the accompanying wiki show you how to use ExeTera to create reproducible analysis pipelines for the Covid Symptom Study dataset.

This project contains a set of notebooks, scripts and algorithms to help you analyse and write new analyses for the Covid Symptom Study data. ExeTera is a software developed by King's College London to provide data curation for the Covid Symptom Study dataset. The dataset is collected using the Covid Symptom Study app, developed by Zoe Global Ltd with input from King's College London, the Massachusetts General Hospital, Lund University Sweden, and Uppsala University, Sweden. This project contains the following:

  • Notebooks: Python notebooks containing ready to run analyses
  • Scripts: Python scripts containing ready to run analyses
  • Algorithms: A number of useful algorithms for cleaning / processing of Covid Symptom Study data, to be used in your own scripts
  • Processing: A number of useful pieces of functionality, to be used in your own scripts

Running analyses

Running analyses is a simple process:

  1. Fetch the dataset snapshot(s)
  2. Import the dataset, using exetera import
  3. Run the postprocessing script on the imported dataset, either via notebook or script
  4. Run analytics!

Fetch the dataset snapshot(s)

The Covid Symptom Study is delivered as a series of daily csv snapshots. If you do not otherwise have access to the snapshots as a research institution, you can get them from The Health Data Gateway.

Import the dataset

Importing the dataset requires the following:

  • The data snapshots
  • The schema file for the dataset covid_schema.json which can be found in this project
  • ExeTera, which can be installed using the command pip install ExeTera
exetera import
-s path/to/covid_schema.json \
-i "patients:path/to/patient_data.csv, assessments:path/to/assessmentdata.csv, tests:path/to/covid_test_data.csv, diet:path/to/diet_study_data.csv" \
-o path/to/output_dataset_name.hdf5

Run the postprocessing script on the imported dataset

This can be done one of two ways:

  • Via python notebook using exeteracovid/notebooks/standard_processing.ipynb
  • Via python script using exeteracovid/scripts/standard_processing.py

Via python notebook

Fill in the fields for input_filename and output_filename, and then run the cell

Via python script

standard_processing -i path/to/input_dataset -o path/to/output_dataset -d

Arguments

  • -i/--input: The path and name of the import hdf5 file
  • -o/--output: The path and name of the processed hdf5 file
  • -d/--daily: A flag to indicate whether to generate daily assessments (optional)

Government Open Licence v3.0 attribution statement

The resources folder contains, amongst other resources, CSV files containing lsoa11cd geo-data that are required for certain scripts and are derived from data sources made available by https://data.gov.uk. These sources are used in accordance with the Open Government Licence V3.0

Metadata

Release files for exeteracovid 0.2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for exeteracovid 0.2.0.1
File Size Uploaded Provenance
exeteracovid-0.2.0.1.tar.gz 25.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for exeteracovid 0.2.0.1
File Interpreter ABI Platform
exeteracovid-0.2.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 66.6 kB

Release files / exeteracovid-0.2.0.1.tar.gz

Download URL exeteracovid-0.2.0.1.tar.gz
Size 25.2 kB
Tags Source
SHA-256 checksum
How to use checksums
5b2c88fab1b274881e9b995fa65325d898b694d68477df6b7a228cea39490fa9
BLAKE2b-256 checksum
How to use checksums
1e857eeaf02f782366f92fc8462430fa9d1babf41e96ad4d3addf176432f6b44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3

Release files / exeteracovid-0.2.0.1-py3-none-any.whl

Download URL exeteracovid-0.2.0.1-py3-none-any.whl
Size 41.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7358f5ebd9d8617b1236c24bc365932dcaf01b7b1f751c392005761efbbb9ccd
BLAKE2b-256 checksum
How to use checksums
6324b0e23d5af1d140d615a7a0e8bfce40ec01f675e1aad46654381da1045374
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1 requests-toolbelt/0.9.1 tqdm/4.49.0 CPython/3.7.3

Security for exeteracovid 0.2.0.1

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page