Skip to main content

VAERS DATA DOWNLOADER

Project description

VAERS Downloader

This project downloads VAERS Data from https://vaers.hhs.gov/data.html it depends on tensorflow to automatically trained models to solve the captcha and download data into VAERS/ directory.

Install

pip install vaers_downloader

Usage

vaers_downloader [--start=2019] [--end=2019] [--directory=/tmp]

This will create a new directory named VAERS in the currect directory where you ran the above command.

Pass a parameter or two for the start and end year as below to download data for those years only.

Default: basically will download all data from 2019 to whatever the year it is when you run it.

python -m vaers_downloader.download -s 2000
python -m vaers_downloader.download --start 1990  -e 1999 -d /tmp

Development

python3 -m venv .venv
source .venv/bin/activate
pip3 install -r requirements.txt
import os
import sys
sys.path.insert(0, './vaers_downloader')
from VAERSFileDownloader import updateVAERSFiles

updateVAERSFiles(
        needsUpdate = True,
        years = [2019, 2020, 2021, 2022],
        workingDirectory = os.getcwd())

Thanks to Frank Knoll for the original code... https://github.com/KnollFrank/HowBadIsMyBatch

Tests

python setup.py test

License

See LICENSE

Authors

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

vaers_downloader-1.0.2.tar.gz (5.3 MB view hashes)

Uploaded Source

Built Distribution

vaers_downloader-1.0.2-py3-none-any.whl (5.3 MB view hashes)

Uploaded Python 3

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