Shiny/R app that generates personalised wordclouds of potential side effects. This code is provided 'as is' with no warranty or support Original code (c) Jason Morphett, 2021
STEPS to get running:
- Download VAERS data for 2021 (https://vaers.hhs.gov/data/datasets.html)
- Download and familliarise yourself with the data dictionary (https://vaers.hhs.gov/docs/VAERSDataUseGuide_en_September2021.pdf)
- Edit and run preprocess.R (see below)
- Edit and run app.R (see below)
This file preprocesses the VAERS 2021 data into four CSV files (three are used by CAVE).
- Note the directory where you downloaded the 2021 VAERS data (three CSVs)
- Enter this as a path into lines 69-71 for the three VAERS CSVs
- Uncomment and change the path on line 130 where you want to put the 'full' data output (this is not used by CAVE)
- Uncomment and change the path on line 160 where you want to put the 'died' data output (this is used by CAVE)
- Uncomment and change the path on line 181 where you want to put the 'subset' data output (this is used by CAVE)
- Uncomment and change the path on line 200 where you want to put the 'grouped' data output (this is used by CAVE)
- Run preprocess.R
- Copy the files in [4], [5] and [6] to the same directory where you pulled CAVE so they are local to app.R
This is the main Shiny app
- Change the filename on lines 20, 22 and 23 to be the names of the files copied from step [8] above
- Run the app