/VAERSReader

VAERS Reader

Primary LanguagePythonGNU General Public License v2.0GPL-2.0

VAERS Analysis

This is a tool for analyzing the VAERS vaccine data.

Disclaimer - Not to be depended on in place of official recommendations from CDC, your doctor or anyone with better knowledge of the situation!

Search for all reports with a certain text string (eg "Pfizer" or "covid") and see the most common word phrases within the reports that mention it.

It's an example of how you can use some of the natural language processing features of: https://textblob.readthedocs.io/en/dev/quickstart.html

Usage

Download VAERS raw data 2020 and 2021 to the same directory, from https://vaers.hhs.gov/data.html

Run read.py and enter the vaccine to search for. Wait a day or two if you are using the script as is with the TextBlob processing.

Bugs

The most-common noun phrases aren't so useful in this case and may not catch all the noun phrases, including some that are not so useful For example searching for Pfizer's COVID-19:

('covid-19', 25735)
('bnt162b2', 18841)
('medical history', 17404)
('spontaneous report', 17333)
('pfizer-biontech covid-19 vaccine', 14724)
('covid', 9919)
('contactable consumer', 9126)
('lot number', 8320)
('patient', 8229)
('concomitant meditations', 7487)
('information', 6672)
('concomitant', 6642)
('finer', 5981)
('lot/batch number', 5639)
("patient 's", 4663)
('left arm', 4127)
('single dose', 3643)
('outcome', 3600)
('injection site', 3308)
('moved', 3250)
('unknown date', 3147)
('right arm', 3141)
('tender', 3039)
('comments', 3035)
('adverse events', 2738)
('could-19 immunisation', 2719)
('follow-up attempts', 2487)
('jan2021', 2219)
('solution', 2203)
('contactable nurse', 2178)
("patient 's concomitant meditations", 2125)
('body aches', 2050)
('female patient', 1997)
('expiration date', 1966)
('pfizer-biontech covid-19 mrna vaccine', 1933)
('moved-19', 1921)
('post vaccination', 1904)
('could-19 immunization', 1885)
('tylenol', 1795)
('vaccine', 1738)
('appropriate action', 1642)
('safety evaluation', 1639)
('aggregate data', 1638)
('safety concern', 1637)
('benefit/risk profile', 1629)
('blood pressure', 1621)
('taller', 1556)
('investigator', 1533)
('ethics', 1527)
('number', 1512)
('clinical outcome', 1438)
('based', 1432)
('regulatory authorities', 1325)
('benadryl', 1321)
('pfizer-biontech covid-19', 1275)
('patient underwent lab tests', 1268)
('headache', 1258)
('sore arm', 1224)
('joint pain', 1223)
('st dose', 1157)
('emergency room', 1112)
('dec2020', 1092)
('finer-sponsored', 1081)
('urgent care', 1057)
('watch/not', 1038)
('never', 1010)
('therapeutic', 980)
('male patient', 966)
('batch/lot number', 963)
('contactable physician', 955)
('heart rate', 952)
('high blood pressure', 945)
('professional office/clinic visit', 919)
('emergency', 906)
('hcp', 902)
('left', 850)
('nasal swab', 826)
('linked', 819)
('non-contactable consumer', 804)
('eh9899', 788)
('muscle pain', 782)
('right side', 762)
('covid-19 vaccine', 760)
('adverse event', 743)
('relevant', 726)
('left side', 723)
('feb2021', 712)
('watch/not number', 711)
('not/watch', 707)
('mar2021', 702)
('ek5730', 694)
('ek9231', 692)
('muscle aches', 683)
('sore throat', 677)
('unknown', 663)
('different patient', 644)
('additional information', 625)
('contactable healthcare', 616)
('nausea', 599)
('well', 598)
('finer-biontech covid-19', 595)
('facility', 579)
('ej1685', 572)
('possible contributory role', 570)
('arm pain', 554)
('historical', 545)
('contactable pharmacist', 539)
('similar events', 536)
('stated', 532)
('pain', 524)
('nurse', 514)
('watch/lot', 512)
('severe', 511)
('arm left', 500)
('side effect', 497)
("'s palsy", 489)
('reporter', 488)
('fatigue', 481)
('allergic reaction', 480)
('low grade fever', 479)
("ca n't", 479)
('severe headache', 472)
('injection site pain', 471)
('emergency room/department', 469)
('el1284', 451)
('chest pain', 448)
('right', 446)
('body', 446)
('el3247', 444)
('physician', 428)
('events', 421)
('muscle', 421)
('follow-up', 420)
('manufacturer unknown', 418)
('expiration late', 418)
('formulation', 413)
('levothyroxine sodium', 401)
('swollen lymph nodes', 386)
('arm', 384)
('lymph nodes', 383)
('cetirizine hydrochloride', 378)
('ascorbic acid', 376)
('acetylsalicylic acid', 368)
('blood', 363)
('zyrtec', 363)
('arm softness', 363)
('el1283', 360)
('vitamin d', 358)
('extreme fatigue', 356)
('blood clot', 350)
('el0140', 346)
('fly shot', 346)
('batch number', 344)
('injection', 343)
('funny nose', 343)
('finer covid', 340)
('fahrenheit', 338)
('pcr', 330)
('el3248', 322)
('clinical', 319)
('apr2021', 319)
('el3246', 318)
('body ache', 316)
('blood thinner', 315)
('expiration', 311)
('vaccine dose', 310)
('dizziness', 309)
('available information', 309)
('finer-biontech moved-19 vaccine', 309)
('el3249', 309)
('ibuprofen', 307)
('synthroid', 305)
('ekg', 301)
('concomitant meditation', 301)
('trial fibrillation', 301)
('mri', 301)
('high cholestrol', 300)
('mrna vaccine', 299)
('wash', 299)
('was', 298)
('event', 297)
('finer-biontech covid-19 vaccine', 295)
("patient 's wife", 293)
('says-co-2 test', 289)
('heart attack', 289)
('blood clots', 289)
('temporal association', 288)
('right eye', 287)
('finer-biontech covid-19 vaccine eua', 285)
('prednisone', 284)
('blood work', 283)
('unknown route', 282)
('additional vaccines', 282)
('feeling', 282)
('felt', 278)
('causal relationship', 277)
('lot #', 276)
('unknown results', 275)
('vaccination', 272)
('temporal relationship', 272)

Once processed now filter the filtered results with for example:

grep -R 'fever' ./found/ | wc -l