Giter Club home page Giter Club logo

covid-usa's People

Stargazers

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

Watchers

 avatar  avatar  avatar

covid-usa's Issues

/api/data/ timing out & returning 503

The data endpoint is consistently taking ~30-60 seconds to resolve, and returns a 503 code when it does, with the heroku application error page as content: https://www.herokucdn.com/error-pages/application-error.html

Given the timeout before error, I suspect it's an error somewhere in the buildData() function, which causes data = await buildData() to equal a never-resolving promise, which causes app.get('/api/data', (req, res) => res.json(data)) to hang.

I can't be sure as I can't see the logs, but I'd be more than happy to open a PR if you can make the logs available!

Automate updates?

Hey, awesome visualization!

Out of curiosity, are you happy doing daily manual updates or would you like to move toward automating them? This could probably be done with heroku scheduler, github actions (assuming that you have heroku deploy on github push), or by modifying the server to fetch and store the assets on the local filesystem (and then update the data directory on a schedule via something like node-cron).

New York FIPS

When looking at population %ages, I noticed that New York City seemed very high around 4/17. It seems that the population is being sourced from Manhattan (36061) while the case count from CSSEGISandData represents all 5 boroughs (CSSEGISandData/COVID-19#1970). I believe USAFacts has breakout data, or the population JSON could just be modified.

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.