Code Monkey home page Code Monkey logo

montanaflynn / covid-19 Goto Github PK

View Code? Open in Web Editor NEW
14.0 6.0 3.0 169.06 MB

Current and historical coronavirus covid-19 confirmed, recovered, deaths and active case counts segmented by country and region. Includes csv, json and sqlite data along with an interactive website explorer.

Home Page: https://montanaflynn.github.io/covid-19

Go 45.88% HTML 10.91% CSS 2.64% JavaScript 40.56%
data covid-19 coronavirus scraper dataset choropleth map d3 json-data visualization

covid-19's Introduction

Covid-19

Current and historical covid-19 confirmed, recovered, deaths and active case counts by region.

If you want to see the current cases on maps worldwide or by country:

https://montanaflynn.github.io/covid-19

If you want to see the historical cases by country or region over time:

https://montanaflynn.github.io/covid-19/historical.html

If you want to use the data for your own project:

Dataset Format URL
Current JSON https://montanaflynn.github.io/covid-19/data/current.json
Current CSV https://montanaflynn.github.io/covid-19/data/current.csv
Historical JSON https://montanaflynn.github.io/covid-19/data/historical.json
Historical CSV https://montanaflynn.github.io/covid-19/data/current.csv

The data is also available in a sqlite database with the following tables:

Table Schema URL
current_data database.go#L14-L24
historical_data database.go#L28-L41

Architecture

The current and historical data comes from https://interaktiv.morgenpost.de current and historical CSV files which are converted to JSON and commited to this repo along with the original format. The data is also saved in sqlite database.

Additional Vietnamese province level data comes from wikipedia.

A GitHub action checks for updates every 15 minutes and updates the JSON files and sqlite database.

The JSON files current.json and historical.json are hosted on GitHub so there is no running costs associated with this project.

The website maps and tables are rendered in the browser using map.js.

Screenshots

TODO

  • Improve performance of webpage to only load data once for all maps
  • Add responsive styling to work for all screen sizes

covid-19's People

Contributors

actions-user avatar montanaflynn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

covid-19's Issues

Updates broken?

Did something break? There have not been a current.json update for 2+ days.

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.