An Unofficial COVID-19 Data Visualization Dashboard created for College Prep made using Puppeteer and Tableau.
Please don't use this code as exemplars! This is absolute spaghetti. :( Check out my other repos for cleaner code.
- Node.js - ^14.15.5 LTS
- NPM - ^7.5.2
- CLI
- Clone repo
- CD into repo dir, run
npm install
to install required dependencies - If running on headless servers - modify line 15 in index.js to
const browser = await puppeteer.launch({ headless: true, defaultViewport: null });
- To change the frequency of the script - Change
0 0 */1 * *
in line 1 of index.js to desired frequency. Syntax is CRON scheduler syntax. - Run the code with
node .
- Files in ./frontend
- Prebuilt versions of the server are not open to the public.
- You can find the implemented version of the service here
- Instructions on implemented site
- Graphical Visualization of College Prep's COVID-19 data, including testing and case datas for students & staff.
- Side by side view of case data for CPS & Alameda County (Alameda Testing statistics visualization coming soon!)
- AirFusion45 - Original Author
This Project is licensed under MIT License - see the LICENSE.md file for more details. The main points of the MIT License are:
- This code can be used commercially
- This code can be modified
- This code can be distributed
- This code can be used for private use
- This code has no Liability
- This code has no Warranty
- When using this code, credit must be given to the author
- The server does not collect any data about the user
- Frontend website uses Google Analytics (Cookies, Beaconing, etc), for a detailed privacy policy, click here
- node-schedule
- Puppeteer - LICENSE in pupptrLicense.txt
- superagent
Feel free to contact me if you find bugs, license issues, missing credits, etc.
- Please contact me here:
- Email: jim@airfusion.dev / yfang@college-prep.org
- Discord: AirFusion#5112
- The implemented website is accessible by College Prep students & staff only.