Code Monkey home page Code Monkey logo

cave's Introduction

CAVE (Coronavirus Adverse Vaccine Events)

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:

  1. Download VAERS data for 2021 (https://vaers.hhs.gov/data/datasets.html)
  2. Download and familliarise yourself with the data dictionary (https://vaers.hhs.gov/docs/VAERSDataUseGuide_en_September2021.pdf)
  3. Edit and run preprocess.R (see below)
  4. Edit and run app.R (see below)

preprocess.R

This file preprocesses the VAERS 2021 data into four CSV files (three are used by CAVE).

  1. Note the directory where you downloaded the 2021 VAERS data (three CSVs)
  2. Enter this as a path into lines 69-71 for the three VAERS CSVs
  3. Uncomment and change the path on line 130 where you want to put the 'full' data output (this is not used by CAVE)
  4. Uncomment and change the path on line 160 where you want to put the 'died' data output (this is used by CAVE)
  5. Uncomment and change the path on line 181 where you want to put the 'subset' data output (this is used by CAVE)
  6. Uncomment and change the path on line 200 where you want to put the 'grouped' data output (this is used by CAVE)
  7. Run preprocess.R
  8. Copy the files in [4], [5] and [6] to the same directory where you pulled CAVE so they are local to app.R

app.R

This is the main Shiny app

  1. Change the filename on lines 20, 22 and 23 to be the names of the files copied from step [8] above
  2. Run the app

cave's People

Contributors

dagger59 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.