Giter Club home page Giter Club logo

covid19-api's Introduction

Who I am ๐Ÿƒ

I'm passionate about software engineering and data analysis, and I love contributing to open-source projects. Currently, I'm actively collaborating on various projects.

I'm the creator and maintainer of the following projects:

  • impURL: A URL shortener application
  • covid19-api: A comprehensive API for COVID-19 data analysis.
  • scavenger: An experiment project aiming to web scraping as a service.
  • daylify: A project to simplify daily mood measurement.

Contribution โœ๏ธ

  • Stack Overflow
  • Taiwan Gold Card
  • Sanctuary Zero

Handshake ๐Ÿค

Website Badge LinkedIn Badge Stack Overflow Badge

covid19-api's People

Contributors

aliraeisdanaei avatar allcontributors[bot] avatar dependabot[bot] avatar jhert0 avatar melsaa avatar msitkovets avatar nat236919 avatar owenduncansnobel avatar soapy1 avatar timweissenfels avatar

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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

covid19-api's Issues

Significant data changes from the source

CSSEGISandData/COVID-19#1250

As stated from the issue above, this repo may need to modify how data is gathered and extracted. Please be informed that Timeseires: Recovered will have NO updated data soon.

I will be working on this to see what I can do about it. However, it might take some time since I work full-time.

Thank you for your understanding.

Serving data from the past

First of all: Thank you sooo much for this API!!!

Could you please also serve the data from the past so we can verify our own data, make prediction graphs etc.? E.g. something like https://corona-api.herokuapp.com/<unix-timestamp> returns the data with that unix-timestamp.

Oh, BTW you may also put note in the README.md about the ts, e.g. that your data comes with a unix-timestamp "ts":1581313691.605966

Thank you in advance.

Edit: I just found out the ts timestamp is provided only by the https://corona-api.herokuapp.com/current and is missing in the other three services. Could you fix that please? Thanks.

Change NovelCoronaAPIv1 to CovidAPIv1 for consistency

I would like to change the name of APIv1's model from NovelCoronaAPIv1 to CovidAPIv1 to make it consistent with APIv2.

Tasks

  1. Change the model's name from NovelCoronaAPIv1 to CovidAPIv1
  2. Make sure that all methods' names used by this model are fixed accordingly
  3. Submit a PR to development branch

Example:

  • Old

novel_corona_api = NovelCoronaAPIv1()

  • New

COVID_API_V1 = CovidAPIv1() # new - global scope

API Versioning

API versioning would be a great idea to ensure backwards compatibility.

CR country code

When calling CR for Costa_Rica it returns

"{"South_Africa":{"confirmed":62,"deaths":0,"recovered":0},"Costa_Rica":{"confirmed":41,"deaths":0,"recovered":0},"Central_African_Republic":{"confirmed":1,"deaths":0,"recovered":0},"dt":"3/17/20","ts":1584403200.0}"

No data for 03/23/2020 (yesterday)

Even in here there's no update for yesterday's data (52 new cases for yesterday worldwide).
Anything that you can do about this or is it the original data source that's faulty here?

Cheers!

Testing with pytest needs to be updated folder changes with integrators.

Describe the bug
When the project was refactored (integrators implemented) the tests used in the test folder with pytest broke since the file paths are different. V2 and V1 both break.

To Reproduce
Steps to reproduce the behavior:

  1. Clone project run
  2. run pytest
  3. See errors

Expected behavior
After running pytest you will see errors from incorrect imports of the models and utils folder and integrator instance name is different from the older version.
Screenshots
image

Additional context
I will update the file paths and make a PR, but their will need to be added testing implemented for each method if you are wishing to verify the correct model used for each method in the integrator file.

Effectively handle time series data

Due to a large amount of data in terms of its quantity and calculation, time-series data handling process should be improved in order to prevent memory insufficiency.

  • Considering using a keyword yield to extract each datum

Countries Model Object

Countries Model Object would be better to support JSON libraries such as : Gson, Moshi, etc.

{
     "name":"Mainland China" 
     "confirmed": 80026,
     "deaths": 2912,
     "recovered": 44810
}

Missing data for 3/12/20

It seems that there is some missing data in the timeseries (confirmed, deaths, recovered) JSON files. For countries like Belgium there currently were no new cases on the 12th of March according to the data, but this is not correct.

Create separate Models and Integrators for v2.1.0

Is your feature request related to a problem? Please describe.
The current approach is a combination of model and business logic which might be inappropriate styles

Describe the solution you'd like
Create Models and Integrators (business logic) separately, the benefits are as follows:

  • Data Validation
  • General coding style
  • Scalability
  • Debugging

Progress

  • APIv1
  • APIv2
  • Documentation

Add ResponseModel to router

Is your feature request related to a problem? Please describe.

Add ResponseModel to router instead of using it in integrator for better maintenance.

Open Source Helps!

Thanks for your work to help the people in need! Your site has been added! I currently maintain the Open-Source-COVID-19 page, which collects all open source projects related to COVID-19, including maps, data, news, api, analysis, medical and supply information, etc. Please share to anyone who might need the information in the list, or will possibly contribute to some of those projects. You are also welcome to recommend more projects.

https://weileizeng.github.io/Open-Source-COVID-19/

Cheers!

Invalid json

The time series objects like Confirmed cases, Deaths and recovered are all invalid json. Reasoning behind is that the supposed json contains an extra } at the very end.

Country code is not consistent across all the APIs

For example : Country/Region value for south Korea in the timeseries API is
"Country/Region":"Korea,_South"

In the current API, the location is
"location":"Korea, South" (without underscore and with a space)

Can we use consistent naming of countries across all the APIs?

Get stats by Provence or City

Is there a way to get info of a City or Provence
EG: Los Angeles,
EG California

This would be great critical information to have access to.

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.