Skip to content

occiviccoders/covid-response-OC-data

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A dashboard to track the spread of the Corona Virus (COVID-19) in the local Orange County community. Let's work together to help prevent the spread of this disease! The dashboard includes daily trends by age group, gender, and travel verses community spread.

This repo is to get and hold the backend data.

Data Sources

The OC Covid 19 Community Watch was made to help the local community monitor covid-19. Data provided by OC Public Health Care Agency Dashboard and California Open Data Portal.

Navigating This Repo

Getting Started

  • Clone this repo.
  • Make sure you have NPM, and run npm install.

Retrieving Covid Data

  • The assets/js files have all the scripts to pull data from the APIs and store them.
  • There is a node file to get data from the OC Public Health Dashboard and California Open Data Portal, which is currently manually run with the npm run get command. This copies data into assets/js/db.js.
  • After running, I sanity check the data, then run the following command to write out the frontend javascript and json files npm run write. This copies data into assets/js/data.json. It's a messy process, but a quick and dirty solution for having no back end, with much room for improvement.
  • I made a script to push the data to github npm run push.
  • These commands are run on a daily basis.

Displaying The Visualizations

  • The frontend source code can be found in the src directory. To contribute to the source code files in the src directory, run gulp watch to sync your changes to the public directory.

Built With

  • Nodejs - For scraping and running scripts
  • Babel - For compiling ES6 in node so that I can push/pull data from assets/js/data.js

Authors

Contributing

  • Love for you to get involved!
  • The goal of this app is to help the local community in any way to get through the covid-19 pandemic. All suggestions are welcome. Submit your ideas as a github issue
  • For coders, find us on meetup and see our #corona channel on slack.
  • Visit the issues tab to contribute to open issues.
  • Be sure to assign the open task to yourself if you plan to work on it.
  • Create a new branch, and start coding.
  • When ready, create a pull request.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

About

This repo holds the data for the covid response dashboard

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published