safety_vaccine
DOI: https://doi.org/10.24433/CO.6387836.v1
Takefuji Y. Set Operations in Python for Translational Medicine. International Journal of Translational Medicine. 2022; 2(2):174-185. https://doi.org/10.3390/ijtm2020015
The latest data of VAERS (Vaccine Adverse Event Reporting System) dataset is available at:
https://vaers.hhs.gov/eSubDownload/index.jsp?fn=2021VAERSData.zip
effectiveness of vaccination status
https://data.cdc.gov/api/views/3rge-nu2a/rows.csv?accessType=DOWNLOAD
vuv.py is for calculating vaccine effectiveness on mortality between fully vaccinated and unvaccinated.
vuc.py is for calculating vaccine effectiveness on infection between fully vaccinated and unvaccinated.
vuc3.py is for calculating vaccine effectiveness on infection and death between fully vaccinated and unvaccinated by vaccine product.
vuc4.py is for calculating bivalent vaccine effectiveness on infection between fully vaccinated and unvaccinated by age group.
set operations
vaers.py shows a good example of intersection operation.
set(A).intersection(B)
set(A).symmetric_difference(B)
set(A).difference(B)
set(A).union(B)
set([1,2,5]).symmetric_difference([1,2,9,4,8,9])
{4, 5, 8, 9}
set([1,2,5]).difference([1,2,9,4,8,9])
{5}
set([1,2,5]).intersection([1,2,9,4,8,9])
{1, 2}
set([1,2,5]).union([1,2,9,4,8,9])
{1, 2, 4, 5, 8, 9}
The following figure shows what is intersection operation.
How to install vaers
On WSL on Windows, MacOS, or Linux operating systems:
$ pip install vaers
On Windows 11 or 10:
$ pip install vaers --force-reinstall --no-cache-dir --no-binary :all:
How to run vaers
$ vaers
or
$ vaers 2022
How to run vaers.py
0. Download 2021VAERSData.zip 1. Unzip 2021VAERSData.zip file 2. Run vaers.py program $ python vaers.py total instances: 677514 total deaths 8926 NOVIDs instances: 1202 NOVIDs deaths: 4 NOV death per instance 0.003328 MODERNA+PFIZER: 905 MODERNA+PFIZER death: 4 MODERNA+PFIZER death per instance: 0.00442 MODERNAIDs instances: 299195 MODERNA deaths 3648 MODERNA 0.012193 PFIZERIDs instances: 283061 PFIZER deaths 3969 PFIZER 0.014022
How to run pfizerAge.py to generate a pfizer.csv file.
$ python pfizerAge.py
How to run modernaAge.py to generate a moderna.csv file.
$ python modernaAge.py
How to calculate safety thresholds of PFIZER and MODERNA vaccines by age
$ python deathperinstance.py
Subtraction operation
set(A).difference(B)
Union operation
set(A).union(B)
Symmetric difference (ExclusiveOR)
set(A).symmetric_difference(B)
Metadata
Release files for vaers 0.0.4
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 | |
|---|---|---|---|---|
| vaers-0.0.4.tar.gz | 3.4 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| vaers-0.0.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.1 kB
Release files / vaers-0.0.4.tar.gz
| Download URL | vaers-0.0.4.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9f141dc96c4a5f2fe1c7d1e172b1762f3a5e34dbfd421d01ec2b0df25ac288e8
|
|
BLAKE2b-256 checksum How to use checksums |
5d44aea48b378b9787e7089d77894882b21b0115bd21793f112fbc78bf9f0c19
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.8.12
|
Release files / vaers-0.0.4-py3-none-any.whl
| Download URL | vaers-0.0.4-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e9921175334f8cf3e989c1f697480de3358c2e34c24494fa5830294a64821e4c
|
|
BLAKE2b-256 checksum How to use checksums |
32d78e6d1647cf79c194ae8a91b97e0319ba431f534d9dcef02fb32ff8cdbcb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.8.12
|
Security for vaers 0.0.4
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.