open-covid19 / covid19-api

An API exposing a number of data sources about COVID19 as an easy to access resource
8 stars 1 forks source link

Add number of people tested endpoint #1

Closed remondevries closed 6 months ago

remondevries commented 4 years ago

Below a collection of links that contain information that we should include into the API:


🇮🇹Italy

🔗arcgis.com On the bottom right, data in CSV format are accessible and include the total tested info.


🇫🇷France (up to 5 March), page 3 of the PDF

🔗santepubliquefrance.fr

The total number of tests is: 6087 negatives, 613 positives; A positivity rate of 10-15% as well as in Italy, higher than other. I'm trying to check other countries as well.


🇨🇭Switzerland (2020/03/08)

🔗admin.ch

"Suspect cases tested negative (all laboratories combined): more than 4000 persons"


🇬🇧UK (Updated daily)

🔗gov.uk


🇨🇳China (Updated daily)

🔗chinacdc.cn

Currently, 674,760 close contacts have been followed-up with, and 20,146 are still under medical observation.


🇦🇹Austria:

🔗sozialministerium.at


🇰🇷South Korea

🔗ncov.mohw.go.kr


Thanks to 👤 Raffaele Tegas for collecting the information above. ℹ️Source

raftgs commented 4 years ago

China (daily update):

only the information on total number of follow-up is provided in the link below.

"Currently, 674,760 close contacts have been followed-up with, and 20,146 are still under medical observation."

http://weekly.chinacdc.cn/news/TrackingtheEpidemic.htm#NHCMar09

raftgs commented 4 years ago

Austria:

https://www.sozialministerium.at/Informationen-zum-Coronavirus/Neuartiges-Coronavirus-(2019-nCov).html

raftgs commented 4 years ago

Switzerland removed that line from yesterday's statement, it was like in the screenshot attached

20200308_suisse

raftgs commented 4 years ago

South Korea:

http://ncov.mohw.go.kr/tcmBoardView.do?brdId=&brdGubun=&dataGubun=&ncvContSeq=353464&contSeq=353464&board_id=&gubun=ALL

raftgs commented 4 years ago

France update:

Today from "Le Figaro":

"Le ministère de la Santé précise par ailleurs qu'environ 1000 tests sont pratiqués chaque jour." (Each day about 1000 tests are performed) Source: https://www.lefigaro.fr/sciences/2020/03/11/01008-20200311LIVWWW00001-en-direct-coronavirus-epidemie-france-stade-3-macron-coree-chine.php

pascalwhoop commented 4 years ago

@unmeshvrije Would you be interested in setting up a structure that pulls this data from each of the sources? We'd need

Alternatively, a good first step may be to create a Google Sheets document that has this data + references to sources for each country. We could then consume that data (either as CSV or as json via the official sheets API) and expose it as an endpoint. Thoughts?

unmeshvrije commented 4 years ago

@pascalwhoop , Yes. I suppose first, I would like to come up with a data model. Perhaps an internal data structure we will use for say DS COVID_tested. I could then use beautiful soup (maybe) to scrape the data from these websites. One class per country and one abstract class with methods like

class COPeopleTestedEndpoint(ABC):
def __init__():
    self.n_tested = 0
    self.n_positive = 0
    #...
@abstractmethod
def read_web_page():

@abstractmethod
def get_n_tested():

@abstractmethod
def get_n_positive():

class ItalyPeopleTestedEndpoint(COPeopleTestedEndpoint):
# must implement get_n_tested(), get_n_positive() etc.