cowidev.testing.batch#
cowidev.testing.batch.andorra#
- class cowidev.testing.batch.andorra.Andorra[source]#
Bases:
CountryTestBase
- location: str = 'Andorra'#
- regex = {'pcr': "'n_pcr': { type: 'line', data: { labels:(.*?), datasets: .*? data: (.*?), fill:", 'script': "'n_serologics': {", 'tma': "'n_tma': { type: 'line', data: { labels:(.*?), datasets: .*? data: (.*?), fill:"}#
- source_label: str = "Tauler COVID-19, Govern d'Andorra"#
- source_url_ref: str = 'https://covid19.govern.ad'#
- units: str = 'tests performed'#
cowidev.testing.batch.argentina#
- class cowidev.testing.batch.argentina.Argentina[source]#
Bases:
CountryTestBase
- location: str = 'Argentina'#
- rename_columns: dict = {'fecha': 'Date', 'positivos': 'positive', 'total': 'Daily change in cumulative total'}#
- source_label: str = 'Government of Argentina'#
- source_url: str = 'https://sisa.msal.gov.ar/datos/descargas/covid-19/files/Covid19Determinaciones.zip'#
- source_url_ref: str = 'https://datos.gob.ar/dataset/salud-covid-19-determinaciones-registradas-republica-argentina'#
- units: str = 'tests performed'#
cowidev.testing.batch.armenia#
- class cowidev.testing.batch.armenia.Armenia[source]#
Bases:
CountryTestBase
- location: str = 'Armenia'#
- regex: dict = {'element': 'window\\.infographicData=({.*})', 'entity': 'f5b6e83c-39b1-47c6-a84f-cd7ebaa3b7b1'}#
- rename_columns: dict = {'': 'Date', 'Բացասական թեստերի արդյունքներ': 'negative', 'Հաստատված դեպքեր': 'positive'}#
- source_label: str = 'National Center for Disease Control'#
- source_url: str = 'https://e.infogram.com/'#
- source_url_ref: str = 'https://ncdc.am/coronavirus/confirmed-cases-by-days/'#
- units: str = 'tests performed'#
cowidev.testing.batch.australia#
- class cowidev.testing.batch.australia.Australia[source]#
Bases:
CountryTestBase
- location: str = 'Australia'#
- notes: str = 'Made available by CovidbaseAU'#
- rename_columns: str = {'Total': 'Cumulative total'}#
- source_label: str = 'Australian Government Department of Health'#
- source_url: str = 'https://covidbaseau.com/historical/COVID-19%20Tests%20Australia.csv'#
- source_url_ref: str = 'https://covidbaseau.com/tests/'#
- units: str = 'tests performed'#
cowidev.testing.batch.austria#
- class cowidev.testing.batch.austria.Austria[source]#
Bases:
CountryTestBase
- location: str = 'Austria'#
- rename_columns: str = {'Meldedat': 'Date', 'TestGesamt': 'Cumulative total'}#
- source_label: str = 'Federal Ministry for Social Affairs, Health, Care and Consumer Protection'#
- source_url: str = 'https://covid19-dashboard.ages.at/data/CovidFallzahlen.csv'#
- source_url_ref: str = 'https://www.data.gv.at/katalog/dataset/846448a5-a26e-4297-ac08-ad7040af20f1'#
- units: str = 'tests performed'#
cowidev.testing.batch.belgium#
- class cowidev.testing.batch.belgium.Belgium[source]#
Bases:
CountryTestBase
- location: str = 'Belgium'#
- rename_columns: str = {'DATE': 'Date', 'PR': 'Positive rate', 'TESTS_ALL': 'Daily change in cumulative total'}#
- source_label: str = 'Sciensano (Belgian institute for health)'#
- source_url: str = 'https://epistat.sciensano.be/Data/COVID19BE_tests.csv'#
- source_url_ref: str = 'https://epistat.sciensano.be/Data/COVID19BE_tests.csv'#
- units: str = 'tests performed'#
cowidev.testing.batch.bolivia#
- class cowidev.testing.batch.bolivia.Bolivia[source]#
Bases:
CountryTestBase
- location: str = 'Bolivia'#
- notes: str = 'Made available by BoliGráfica on GitHub'#
- rename_columns: dict = {'Bolivia': 'Cumulative total', 'Unnamed: 0': 'Date'}#
- source_label: str = 'Bolivia Ministry of Health'#
- source_url: str = 'https://raw.githubusercontent.com/dquintani/covid/main/pruebas_acum.csv'#
- source_url_ref: str = 'https://www.boligrafica.com/'#
- units: str = 'tests performed'#
cowidev.testing.batch.bosnia_herzegovina#
- class cowidev.testing.batch.bosnia_herzegovina.BosniaHerzegovina[source]#
Bases:
CountryTestBase
- location: str = 'Bosnia and Herzegovina'#
- source_label: str = 'Ministry of Civil Affairs'#
- source_url: str = ['http://mcp.gov.ba/publication/read/epidemioloska-slika-covid-19?pageId=3', 'http://mcp.gov.ba/publication/read/epidemioloska-slika-novo?pageId=97']#
- source_url_ref: str = 'http://mcp.gov.ba/publication/read/epidemioloska-slika-covid-19?pageId=3, http://mcp.gov.ba/publication/read/epidemioloska-slika-novo?pageId=97'#
- units: str = 'tests performed'#
cowidev.testing.batch.brazil#
- class cowidev.testing.batch.brazil.Brazil[source]#
Bases:
CountryTestBase
- location: str = 'Brazil'#
- notes: str = 'Made available by Wesley Cota on GitHub'#
- rename_columns: dict = {'date': 'Date', 'tests': 'Cumulative total'}#
- source_label: str = 'Coronavírus Brasil'#
- source_url: str = 'https://raw.githubusercontent.com/wcota/covid19br/master/cases-brazil-states.csv'#
- source_url_ref: str = 'https://coronavirusbra1.github.io/'#
- units: str = 'tests performed'#
cowidev.testing.batch.canada#
- class cowidev.testing.batch.canada.Canada[source]#
Bases:
CountryTestBase
- location: str = 'Canada'#
- rename_columns: dict = {'date': 'Date', 'numtests': 'Cumulative total', 'prname': 'Country'}#
- source_label: str = 'Government of Canada'#
- source_url: str = 'https://health-infobase.canada.ca/src/data/covidLive/covid19-download.csv'#
- source_url_ref: str = 'https://health-infobase.canada.ca/src/data/covidLive/covid19-download.csv'#
cowidev.testing.batch.chile#
- class cowidev.testing.batch.chile.Chile[source]#
Bases:
CountryTestBase
- location: str = 'Chile'#
- source_label: str = 'Ministry of Health, via Ministry of Science GitHub repository'#
- source_url_ref: str = 'https://github.com/MinCiencia/Datos-COVID19/tree/master/output/producto49'#
- units: str = 'tests performed'#
cowidev.testing.batch.colombia#
cowidev.testing.batch.costa_rica#
cowidev.testing.batch.cuba#
- class cowidev.testing.batch.cuba.Cuba[source]#
Bases:
CountryTestBase
- location: str = 'Cuba'#
- notes: str = 'Made available on GitHub by covid19cubadata'#
- source_label: str = 'Ministry of Public Health'#
- source_url: str = 'https://raw.githubusercontent.com/covid19cubadata/covid19cubadata.github.io/master/data/covid19-cuba.json'#
- source_url_ref: str = 'https://covid19cubadata.github.io/#cuba'#
- units: str = 'tests performed'#
cowidev.testing.batch.cyprus#
- class cowidev.testing.batch.cyprus.Cyprus[source]#
Bases:
CountryTestBase
- location: str = 'Cyprus'#
- rename_columns: dict = {'date': 'Date', 'total tests': 'Cumulative total'}#
- source_label: str = 'Ministry of Health'#
- source_url: str = 'https://www.data.gov.cy/node/4617?language=en'#
- source_url_ref: str = 'https://www.data.gov.cy/node/4617?language=en'#
- units: str = 'tests performed'#
cowidev.testing.batch.czechia#
- class cowidev.testing.batch.czechia.Czechia[source]#
Bases:
CountryTestBase
- location: str = 'Czechia'#
- rename_columns: dict = {'datum': 'Date', 'incidence_pozitivni': 'positive', 'pocet_AG_testy': 'antigen', 'pocet_PCR_testy': 'pcr'}#
- source_label: str = 'Ministry of Health'#
- source_url: str = 'https://onemocneni-aktualne.mzcr.cz/api/v2/covid-19/testy-pcr-antigenni.csv'#
- source_url_ref: str = 'https://onemocneni-aktualne.mzcr.cz/api/v2/covid-19'#
- units: str = 'tests performed'#
cowidev.testing.batch.denmark#
cowidev.testing.batch.ecdc#
- class cowidev.testing.batch.ecdc.ECDC[source]#
Bases:
CountryTestBase
- columns_use: list = ['year_week', 'region_name', 'tests_done']#
- location: str = 'ECDC'#
- pipe_filter_entries(df: DataFrame) DataFrame [source]#
Get valid entries:
Discard subnational data.
Countries not coming from OWID (avoid loop).
- pipe_rename_countries(df: DataFrame) DataFrame [source]#
Rename countries to match OWID naming convention.
- rename_columns: dict = {'region_name': 'location', 'tests_done': 'Cumulative total', 'year_week': 'Date'}#
- source_label: str = 'European Centre for Disease Prevention and Control (ECDC)'#
- source_url: str = 'https://opendata.ecdc.europa.eu/covid19/testing/csv/data.csv'#
- source_url_ref: str = 'https://www.ecdc.europa.eu/en/publications-data/covid-19-testing'#
- units: str = 'tests performed'#
cowidev.testing.batch.ecuador#
- class cowidev.testing.batch.ecuador.Ecuador[source]#
Bases:
CountryTestBase
- location: str = 'Ecuador'#
- notes: str = 'Sum of confirmados and descartados'#
- rename_columns: dict = {'created_at': 'Date', 'negativas_pcr': 'negative', 'positivas_pcr': 'positive'}#
- source_label: str = 'Ministerio de Salud Pública del Ecuador (via Ecuacovid)'#
- source_url: str = 'https://github.com/andrab/ecuacovid/raw/master/datos_crudos/ecuacovid.csv'#
- source_url_ref: str = 'https://github.com/andrab/ecuacovid'#
- units: str = 'people tested'#
cowidev.testing.batch.estonia#
- class cowidev.testing.batch.estonia.Estonia[source]#
Bases:
CountryTestBase
- location: str = 'Estonia'#
- rename_columns: dict = {'StatisticsDate': 'Date', 'TotalTests': 'Cumulative total'}#
- source_label: str = 'Estonian Health Board'#
- source_url: str = 'https://opendata.digilugu.ee/opendata_covid19_test_county_all.csv'#
- source_url_ref: str = 'https://www.terviseamet.ee/et/koroonaviirus/avaandmed'#
- units: str = 'tests performed'#
cowidev.testing.batch.finland#
- class cowidev.testing.batch.finland.Finland[source]#
Bases:
CountryTestBase
- base_url = 'https://sampo.thl.fi/pivot/prod/en/epirapo/covid19case/fact_epirapo_covid19case.csv'#
- location: str = 'Finland'#
- source_label: str = 'Finnish Department of Health and Welfare'#
- source_url: str = 'https://sampo.thl.fi/pivot/prod/en/epirapo/covid19case/fact_epirapo_covid19case.csv?row=dateweek20200101-509093L&column=measure-444833.445356.492118.&&fo=1'#
- source_url_ref: str = 'https://sampo.thl.fi/pivot/prod/en/epirapo/covid19case/fact_epirapo_covid19case'#
- units: str = 'tests performed'#
cowidev.testing.batch.france#
- class cowidev.testing.batch.france.France[source]#
Bases:
CountryTestBase
- location: str = 'France'#
- source_label: str = 'National Public Health Agency'#
- source_url_ref: str = 'https://www.data.gouv.fr/fr/datasets/donnees-relatives-aux-resultats-des-tests-virologiques-covid-19/'#
- units: str = 'people tested'#
cowidev.testing.batch.germany#
- class cowidev.testing.batch.germany.Germany[source]#
Bases:
CountryTestBase
- location: str = 'Germany'#
- source_url: str = 'https://www.rki.de/DE/Content/InfAZ/N/Neuartiges_Coronavirus/Daten/Testzahlen-gesamt.xlsx?__blob=publicationFile'#
cowidev.testing.batch.guam#
- class cowidev.testing.batch.guam.Guam[source]#
Bases:
CountryTestBase
- location: str = 'Guam'#
- rename_columns: dict = {'date': 'Date'}#
- source_label: str = 'Department of Health & Human Services'#
- source_url: str = 'https://healthdata.gov/api/views/j8mb-icvb/rows.csv'#
- source_url_ref: str = 'https://healthdata.gov/dataset/COVID-19-Diagnostic-Laboratory-Testing-PCR-Testing/j8mb-icvb'#
- units: str = 'tests performed'#
cowidev.testing.batch.guatemala#
Constructs daily time series of COVID-19 testing data for Guatemala.
Official dashboard: https://tablerocovid.mspas.gob.gt/.
- class cowidev.testing.batch.guatemala.Guatemala[source]#
Bases:
CountryTestBase
- location: str = 'Guatemala'#
- source_label: str = 'Ministry of Health and Social Assistance'#
- source_url: str = 'https://gtmvigilanciacovid.shinyapps.io/3869aac0fb95d6baf2c80f19f2da5f98'#
- source_url_ref: str = 'https://gtmvigilanciacovid.shinyapps.io/3869aac0fb95d6baf2c80f19f2da5f98'#
- units: str = 'people tested'#
cowidev.testing.batch.hong_kong#
- class cowidev.testing.batch.hong_kong.HongKong[source]#
Bases:
CountryTestBase
- location: str = 'Hong Kong'#
- rename_columns: dict = {'日期由 From Date': 'from', '日期至 To Date': 'Date', '普及社區檢測計劃下的檢測數目 Number of tests under Universal Community Testing Programme': 't3', '檢測數字 Number of tests': 't1', '特定群組檢測計劃下的檢測數目 Number of tests under Target Group Testing Scheme': 't2', '社區檢測中心的檢測數目 Number of tests in Community Testing Centres': 't5', '臨時檢測中心的檢測數目 Number of tests in Temporary Testing Centres': 't4'}#
- source_label: str = 'Department of Health'#
- source_url: str = 'http://www.chp.gov.hk/files/misc/statistics_on_covid_19_testing_cumulative.csv'#
- source_url_ref: str = 'http://www.chp.gov.hk/files/misc/statistics_on_covid_19_testing_cumulative.csv'#
- units: str = 'tests performed'#
cowidev.testing.batch.hungary#
- class cowidev.testing.batch.hungary.Hungary[source]#
Bases:
CountryTestBase
- location: str = 'Hungary'#
- notes: str = 'Made available by Atlo.team'#
- rename_columns: dict = {'Dátum': 'Date', 'Új mintavételek száma': 'Daily change in cumulative total'}#
- source_label: str = 'Government of Hungary'#
- source_url_ref: str = 'https://atlo.team/koronamonitor/'#
- units: str = 'tests performed'#
cowidev.testing.batch.iceland#
- class cowidev.testing.batch.iceland.Iceland[source]#
Bases:
CountryTestBase
- location: str = 'Iceland'#
- regex: dict = {'element': 'window\\.infographicData=({.*})', 'title_positive': 'Fjöldi smita innanlands', 'title_test': 'Fjöldi sýna eftir dögum'}#
- rename_columns: dict = {'Antigen domestic tests': 't2', 'Border tests': 't4', 'Border tests 1 and 2': 't4', 'Domestic infections': 'p1', 'Domestic infections (PCR or antigen test)': 'p1', 'Domestic infections PCR': 'p2', 'Domestic tests (PCR or antigen)': 't1', 'PCR domestic tests': 't1', 'Quarantine- and random screening': 'p2', 'Quarantine- and random tests': 't2', 'Screening by deCODE Genetics': 'p3', 'Sympotmatic tests': 't1', 'Symptomatic screening': 'p1', 'Symptomatic tests': 't1', 'deCODE Genetics screening': 't3'}#
- source_label: str = 'Government of Iceland'#
- source_url: str = 'https://e.infogram.com/'#
- source_url_ref: str = 'https://www.covid.is/data'#
- units: str = 'tests performed'#
cowidev.testing.batch.india#
- class cowidev.testing.batch.india.India[source]#
Bases:
CountryTestBase
- location: str = 'India'#
- notes: str = 'Made available by DataMeet on GitHub'#
- rename_columns: dict = {'report_time': 'Date', 'samples': 'Cumulative total'}#
- source_label: str = 'Indian Council of Medical Research'#
- source_url: str = 'https://raw.githubusercontent.com/datameet/covid19/master/data/icmr_testing_status.json'#
- source_url_ref: str = 'https://github.com/datameet/covid19'#
- units: str = 'samples tested'#
cowidev.testing.batch.indonesia#
cowidev.testing.batch.ireland#
Constructs daily time series of COVID-19 testing data for Ireland.
Dashboard: https://covid19ireland-geohive.hub.arcgis.com/pages/hospitals-icu–testing
- class cowidev.testing.batch.ireland.Ireland[source]#
Bases:
CountryTestBase
- TESTING_TYPE = 'PCR only'#
- location: str = 'Ireland'#
- rename_columns: dict = {'Date_HPSC': 'Date', 'PosR7': 'Positive rate', 'Test24': 'Daily change in cumulative total', 'TotalLabs': 'Cumulative total'}#
- source_label: str = 'Government of Ireland'#
- source_url: str = 'https://services-eu1.arcgis.com/z6bHNio59iTqqSUY/arcgis/rest/services/LaboratoryLocalTimeSeriesHistoricView/FeatureServer/0/query'#
- source_url_ref: str = 'https://covid19ireland-geohive.hub.arcgis.com/pages/hospitals-icu--testing'#
- units: str = 'tests performed'#
cowidev.testing.batch.israel#
- class cowidev.testing.batch.israel.Israel[source]#
Bases:
CountryTestBase
- location: str = 'Israel'#
- rename_columns: dict = {'amount': 'positive', 'amountPersonTested': 'Daily change in cumulative total', 'date': 'Date'}#
- source_label: str = 'Israel Ministry of Health'#
- source_url: str = {'positive': 'https://datadashboardapi.health.gov.il/api/queries/infectedPerDate', 'tests': 'https://datadashboardapi.health.gov.il/api/queries/testResultsPerDate'}#
- source_url_ref: str = 'https://datadashboard.health.gov.il/COVID-19/general'#
- units: str = 'people tested'#
cowidev.testing.batch.italy#
- class cowidev.testing.batch.italy.Italy[source]#
Bases:
CountryTestBase
- location: str = 'Italy'#
- notes: str = 'Made available by the Department of Civil Protection on GitHub'#
- rename_columns: dict = {'data': 'Date', 'tamponi': 'Cumulative total'}#
- source_label: str = 'Presidency of the Council of Ministers'#
- source_url: str = 'https://raw.githubusercontent.com/pcm-dpc/COVID-19/master/dati-andamento-nazionale/dpc-covid19-ita-andamento-nazionale.csv'#
- source_url_ref: str = 'https://github.com/pcm-dpc/COVID-19/tree/master/dati-andamento-nazionale/'#
- units: str = 'tests performed'#
cowidev.testing.batch.japan#
- class cowidev.testing.batch.japan.Japan[source]#
Bases:
CountryTestBase
- location: str = 'Japan'#
- rename_columns: dict = {'PCR 検査実施人数(単日)': 'Daily change in cumulative total', '日付': 'Date'}#
- source_label: str = 'Ministry of Health, Labour and Welfare'#
- source_url: str = 'https://www.mhlw.go.jp/content/pcr_tested_daily.csv'#
- source_url_ref: str = 'https://www.mhlw.go.jp/content/pcr_tested_daily.csv'#
- units: str = 'people tested'#
cowidev.testing.batch.kazakhstan#
Constructs daily time series of COVID-19 testing data for Kazakhstan.
Dashboard: https://hls.kz/
Notes:
- This module requires ChromeDriver to be installed
(https://chromedriver.chromium.org/downloads) and in your executable $PATH.
- class cowidev.testing.batch.kazakhstan.Kazakhstan[source]#
Bases:
CountryTestBase
- location: str = 'Kazakhstan'#
cowidev.testing.batch.latvia#
- class cowidev.testing.batch.latvia.Latvia[source]#
Bases:
CountryTestBase
- location: str = 'Latvia'#
- notes: str = 'Collected from the Latvian Open Data Portal'#
- rename_columns: dict = {'Datums': 'Date', 'TestuSkaits': 'Daily change in cumulative total'}#
- source_label: str = 'Center for Disease Prevention and Control'#
- source_url: str = 'https://data.gov.lv/dati/dataset/f01ada0a-2e77-4a82-8ba2-09cf0cf90db3/resource/d499d2f0-b1ea-4ba2-9600-2c701b03bd4a/download/covid_19_izmeklejumi_rezultati.csv'#
- source_url_ref: str = 'https://data.gov.lv/dati/eng/dataset/covid-19'#
- units: str = 'tests performed'#
cowidev.testing.batch.liechtenstein#
- class cowidev.testing.batch.liechtenstein.Liechtenstein[source]#
Bases:
CountryTestBase
- location: str = 'Liechtenstein'#
- rename_columns: dict = {'datum': 'Date', 'entries': 'Daily change in cumulative total'}#
- source_label: str = 'Federal Office of Public Health'#
- source_url: str = 'https://www.covid19.admin.ch/api/data/20220112-m4gbccen/sources/COVID19Test_geoRegion_PCR_Antigen.json'#
- source_url_ref: str = 'https://opendata.swiss/en/dataset/covid-19-schweiz'#
- units: str = 'tests performed'#
cowidev.testing.batch.lithuania#
- class cowidev.testing.batch.lithuania.Lithuania[source]#
Bases:
CountryTestBase
- location: str = 'Lithuania'#
- rename_columns: dict = {'date': 'Date', 'dgn_pos_day': 'daily_pos', 'dgn_tot_day': 'Daily change in cumulative total'}#
- source_label: str = 'Government of Lithuania'#
- source_url: str = 'https://opendata.arcgis.com/datasets/d49a63c934be4f65a93b6273785a8449_0.csv?where=municipality_code%20%3D%20%2700%27'#
- source_url_ref: str = 'https://open-data-ls-osp-sdg.hub.arcgis.com/datasets/d49a63c934be4f65a93b6273785a8449_0'#
- units: str = 'tests performed'#
cowidev.testing.batch.luxembourg#
- class cowidev.testing.batch.luxembourg.Luxembourg[source]#
Bases:
CountryTestBase
- location: str = 'Luxembourg'#
- rename_columns: dict = {'Nombre de personnes testées "positif"': 'positive', 'Nombre de tests PCR effectués': 'Cumulative total'}#
- source_label: str = 'Luxembourg Ministry of Health'#
- source_url_ref: str = 'https://msan.gouvernement.lu/fr/graphiques-evolution.html'#
- units: str = 'tests performed'#
cowidev.testing.batch.malaysia#
- class cowidev.testing.batch.malaysia.Malaysia[source]#
Bases:
CountryTestBase
- location: str = 'Malaysia'#
- notes: str = 'Made available by the Malaysia Ministry of Health on GitHub'#
- rename_columns: dict = {'date': 'Date'}#
- source_label: str = 'Malaysia Ministry of Health'#
- source_url: str = 'https://raw.githubusercontent.com/MoH-Malaysia/covid19-public/main/epidemic/tests_malaysia.csv'#
- source_url_ref: str = 'https://github.com/MoH-Malaysia/covid19-public'#
- units: str = 'people tested'#
cowidev.testing.batch.malta#
- class cowidev.testing.batch.malta.Malta[source]#
Bases:
CountryTestBase
- location: str = 'Malta'#
- notes: str = <NA>#
- rename_columns: dict = {'Publication date': 'Date', 'Total NAA and rapid antigen tests': 'Cumulative total'}#
- source_label: str = 'COVID-19 Public Health Response Team (Ministry for Health)'#
- source_url: str = 'https://raw.githubusercontent.com/COVID19-Malta/COVID19-Data/master/COVID-19%20Malta%20-%20COVID%20Tests.csv'#
- source_url_ref: str = 'https://github.com/COVID19-Malta/COVID19-Data/'#
- units: str = 'tests performed'#
cowidev.testing.batch.marshall_islands#
- class cowidev.testing.batch.marshall_islands.MarshallIslands[source]#
Bases:
CountryTestBase
- location: str = 'Marshall Islands'#
- rename_columns: dict = {'date': 'Date'}#
- source_label: str = 'Department of Health & Human Services'#
- source_url: str = 'https://healthdata.gov/api/views/j8mb-icvb/rows.csv'#
- source_url_ref: str = 'https://healthdata.gov/dataset/COVID-19-Diagnostic-Laboratory-Testing-PCR-Testing/j8mb-icvb'#
- units: str = 'tests performed'#
cowidev.testing.batch.mexico#
- class cowidev.testing.batch.mexico.Mexico[source]#
Bases:
CountryTestBase
- location: str = 'Mexico'#
- source_label: str = 'Health Secretary'#
- source_url: str = 'https://datos.covid-19.conacyt.mx/#DownZCSV'#
- source_url_ref: str = 'https://datos.covid-19.conacyt.mx/#DownZCSV'#
- units: str = 'people tested'#
cowidev.testing.batch.netherlands#
- class cowidev.testing.batch.netherlands.Netherlands[source]#
Bases:
CountryTestBase
- location: str = 'Netherlands'#
- notes: str = <NA>#
- rename_columns: dict = {'Date_of_statistics': 'Date', 'Tested_with_result': 'Daily change in cumulative total'}#
- source_label: str = 'Dutch National Institute for Public Health and the Environment'#
- source_url: str = 'https://data.rivm.nl/covid-19/COVID-19_uitgevoerde_testen.json'#
- source_url_ref: str = 'https://data.rivm.nl/covid-19/'#
- units: str = 'tests performed'#
cowidev.testing.batch.north_korea#
- class cowidev.testing.batch.north_korea.NorthKorea[source]#
Bases:
CountryTestBase
- location: str = 'North Korea'#
- rename_columns: dict = {'Unnamed: 1': 'Daily change in cumulative total', 'Unnamed: 4': 'Source URL', 'Unnamed: 5': 'Date'}#
- source_label: str = 'NK News'#
- source_url_ref: str = 'https://www.nknews.org/pro/coronavirus-in-north-korea-tracker/'#
- units: str = 'people tested'#
cowidev.testing.batch.northern_mariana_islands#
- class cowidev.testing.batch.northern_mariana_islands.NorthernMarianaIslands[source]#
Bases:
CountryTestBase
- location: str = 'Northern Mariana Islands'#
- rename_columns: dict = {'date': 'Date'}#
- source_label: str = 'Department of Health & Human Services'#
- source_url: str = 'https://healthdata.gov/api/views/j8mb-icvb/rows.csv'#
- source_url_ref: str = 'https://healthdata.gov/dataset/COVID-19-Diagnostic-Laboratory-Testing-PCR-Testing/j8mb-icvb'#
- units: str = 'tests performed'#
cowidev.testing.batch.norway#
- class cowidev.testing.batch.norway.Norway[source]#
Bases:
CountryTestBase
- location: str = 'Norway'#
- source_label: str = 'Norwegian Institute of Public Health'#
- source_url: str = 'https://www.fhi.no/api/chartdata/api/90789'#
- source_url_ref: str = 'https://www.fhi.no/en/id/infectious-diseases/coronavirus/daily-reports/daily-reports-COVID19'#
- units: str = 'people tested'#
cowidev.testing.batch.peru#
- class cowidev.testing.batch.peru.Peru[source]#
Bases:
CountryTestBase
- date_start: str = '2020-04-08'#
- location: str = 'Peru'#
- notes: str = 'Ministerio de Salud via https://github.com/jmcastagnetto/covid-19-peru-data'#
- rename_columns: dict = {'confirmed': 'positive', 'date': 'Date', 'total_tests': 'Cumulative total'}#
- source_label: str = 'National Institute of Health'#
- source_url: str = 'https://raw.githubusercontent.com/jmcastagnetto/covid-19-peru-data/main/datos/covid-19-peru-data.csv'#
- source_url_ref: str = 'https://datos.ins.gob.pe/dataset/dataset-de-pruebas-moleculares-del-instituto-nacional-de-salud-ins'#
- units: str = 'tests performed'#
cowidev.testing.batch.philippines#
- class cowidev.testing.batch.philippines.Philippines[source]#
Bases:
CountryTestBase
- _base_url = 'https://drive.google.com/drive/folders/1ZPPcVU4M7T-dtRyUceb0pMAd8ickYf8o'#
- location: str = 'Philippines'#
- rename_columns: dict = {'cumulative_unique_individuals': 'Cumulative total', 'report_date': 'Date'}#
- source_label: str = 'Philippines Department of Health'#
- units: str = 'people tested'#
cowidev.testing.batch.portugal#
- class cowidev.testing.batch.portugal.Portugal[source]#
Bases:
CountryTestBase
- location: str = 'Portugal'#
- source_label: str = 'Ministry of Health'#
- source_url: str = 'https://services5.arcgis.com/eoFbezv6KiXqcnKq/arcgis/rest/services/Covid19_Amostras/FeatureServer/0/query?f=json&where=1%3D1&returnGeometry=false&spatialRel=esriSpatialRelIntersects&outFields=*&orderByFields=Data_do_Relatorio%20asc&resultOffset=0&resultRecordCount=32000&resultType=standard&cacheHint=true'#
- source_url_ref: str = 'https://covid19.min-saude.pt/ponto-de-situacao-atual-em-portugal/'#
- units: str = 'tests performed'#
cowidev.testing.batch.puerto_rico#
- class cowidev.testing.batch.puerto_rico.PuertoRico[source]#
Bases:
CountryTestBase
- location: str = 'Puerto Rico'#
- rename_columns: dict = {'date': 'Date'}#
- source_label: str = 'Department of Health & Human Services'#
- source_url: str = 'https://healthdata.gov/api/views/j8mb-icvb/rows.csv'#
- source_url_ref: str = 'https://healthdata.gov/dataset/COVID-19-Diagnostic-Laboratory-Testing-PCR-Testing/j8mb-icvb'#
- units: str = 'tests performed'#
cowidev.testing.batch.qatar#
- class cowidev.testing.batch.qatar.Qatar[source]#
Bases:
CountryTestBase
- header: dict = {'Accept': 'application/json; odata=verbose', 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:86.0) Gecko/20100101 Firefox/86.0'}#
- location: str = 'Qatar'#
- rename_columns: dict = {'PublishingDate': 'Date', 'TotalTests24H': 'Daily change in cumulative total'}#
- source_label: str = 'Qatar Ministry of Public Health'#
- source_url: str = "https://covid19.moph.gov.qa/EN/_api/web/lists/getbytitle('Covid19DailyStatus')/items?$top=5000"#
- source_url_ref: str = 'https://covid19.moph.gov.qa/EN/Pages/default.aspx'#
- units: str = 'tests performed'#
cowidev.testing.batch.rwanda#
- class cowidev.testing.batch.rwanda.Rwanda[source]#
Bases:
CountryTestBase
- date_start: str = '2021-11-08'#
- location: str = 'Rwanda'#
- params: dict = {'cacheHint': True, 'f': 'json', 'orderByFields': 'created_date desc', 'outFields': '*', 'resultRecordCount': 32000, 'resultType': 'standard', 'returnGeometry': False, 'spatialRel': 'esriSpatialRelIntersects', 'where': '1=1'}#
- rename_columns: dict = {'attributes.created_date': 'Date', 'attributes.cumulative_test': 'Cumulative total'}#
- source_label: str = 'Rwanda Ministry of Health'#
- source_url: str = 'https://gis.rbc.gov.rw/server/rest/services/Hosted/service_b580a3db9319449e82045881f1667b01/FeatureServer/0/query'#
- source_url_ref: str = 'https://rbc.gov.rw/index.php?id=707'#
- units: str = 'samples tested'#
cowidev.testing.batch.saudi_arabia#
- class cowidev.testing.batch.saudi_arabia.SaudiArabia[source]#
Bases:
CountryTestBase
- location: str = 'Saudi Arabia'#
- params: dict = {'f': 'json', 'orderByFields': 'ReportDate asc', 'outFields': 'ReportDate,DailyTest', 'resultOffset': 0, 'resultRecordCount': 32000, 'resultType': 'standard', 'returnGeometry': False, 'spatialRel': 'esriSpatialRelIntersects', 'where': "ReportDate>'2020-01-01 00:00:00'"}#
- rename_columns: dict = {'attributes.DailyTest': 'Daily change in cumulative total', 'attributes.ReportDate': 'Date'}#
- source_label: str = 'Ministry of Health'#
- source_url: str = 'https://services6.arcgis.com/bKYAIlQgwHslVRaK/arcgis/rest/services/DailyTestPerformance_ViewLayer/FeatureServer/0/query'#
- source_url_ref: str = 'https://covid19.moh.gov.sa/'#
- units: str = 'tests performed'#
cowidev.testing.batch.senegal#
- class cowidev.testing.batch.senegal.Senegal[source]#
Bases:
CountryTestBase
- location: str = 'Senegal'#
- params: dict = {'f': 'json', 'orderByFields': 'Date asc', 'outFields': 'Date,Nombre_de_tests_realises', 'resultOffset': 0, 'resultRecordCount': 32000, 'resultType': 'standard', 'returnGeometry': False, 'spatialRel': 'esriSpatialRelIntersects', 'where': '1=1'}#
- rename_columns: dict = {'attributes.Date': 'Date', 'attributes.Nombre_de_tests_realises': 'Daily change in cumulative total'}#
- source_label: str = 'Ministry for Health and Social Action'#
- source_url: str = 'https://services7.arcgis.com/Z6qiqUaS6ImjYL5S/arcgis/rest/services/tendance_nationale/FeatureServer/0/query'#
- source_url_ref: str = 'http://www.sante.gouv.sn/'#
- units: str = 'tests performed'#
cowidev.testing.batch.serbia#
- class cowidev.testing.batch.serbia.Serbia[source]#
Bases:
CountryTestBase
- base_url: str = 'https://github.com/aleksandar-jovicic/COVID19-Serbia/{}/master/timeseries.csv'#
- location: str = 'Serbia'#
- notes: str = 'Made available by Aleksandar Jovičić on Github'#
- rename_columns: dict = {'tested': 'Cumulative total', 'ts': 'Date'}#
- source_label: str = 'Ministry of Health'#
- property source_url#
- property source_url_ref#
- testing_type: str = 'PCR only'#
- units: str = 'people tested'#
cowidev.testing.batch.slovakia#
- class cowidev.testing.batch.slovakia.Slovakia[source]#
Bases:
CountryTestBase
- location: str = 'Slovakia'#
- notes: str = 'Ministry of Health via https://github.com/Institut-Zdravotnych-Analyz'#
- rename_columns: dict = {'Datum': 'Date'}#
- source_label: str = 'Ministry of Health'#
- source_url: str = 'https://github.com/Institut-Zdravotnych-Analyz/covid19-data/raw/main/DailyStats/OpenData_Slovakia_Covid_DailyStats.csv'#
- source_url_ref: str = 'https://github.com/Institut-Zdravotnych-Analyz/covid19-data'#
- units: str = 'tests performed'#
cowidev.testing.batch.slovenia#
- class cowidev.testing.batch.slovenia.Slovenia[source]#
Bases:
CountryTestBase
- location: str = 'Slovenia'#
- notes: str = 'National Institute of Public Health via Sledilnik'#
- rename_columns: dict = {'data.hagt.performed.today': 'ag', 'data.hagt.positive.today': 'positive_ag', 'total.performed.today': 'pcr', 'total.positive.today': 'positive_pcr'}#
- source_label: str = 'National Institute of Public Health'#
- source_url: str = 'https://api.sledilnik.org/api/lab-tests'#
- source_url_ref: str = 'https://covid-19.sledilnik.org/en/data'#
- units: str = 'tests performed'#
cowidev.testing.batch.south_africa#
- class cowidev.testing.batch.south_africa.SouthAfrica[source]#
Bases:
CountryTestBase
- location: str = 'South Africa'#
- notes: str = 'Made available by the University of Pretoria on Github'#
- rename_columns: dict = {'YYYYMMDD': 'Date', 'cumulative_tests': 'Cumulative total'}#
- source_label: str = 'National Institute for Communicable Diseases (NICD)'#
- source_url: str = 'https://raw.githubusercontent.com/dsfsi/covid19za/master/data/covid19za_timeline_testing.csv'#
- source_url_ref: str = 'https://github.com/dsfsi/covid19za'#
- units: str = 'people tested'#
cowidev.testing.batch.south_korea#
- class cowidev.testing.batch.south_korea.SouthKorea[source]#
Bases:
CountryTestBase
- location: str = 'South Korea'#
- notes: str = 'Data made available by Asia Regional Information Center at Seoul National University'#
- source_label: str = 'Korea Disease Control and prevention Agency'#
- source_url_ref: str = 'https://sites.google.com/view/snuaric/data-service/covid-19/covid-19-data'#
- units: str = 'people tested'#
cowidev.testing.batch.spain#
- class cowidev.testing.batch.spain.Spain[source]#
Bases:
CountryTestBase
- base_url = 'https://www.sanidad.gob.es/profesionales/saludPublica/ccayes/alertasActual/nCov'#
- date = '03102022'#
- location: str = 'Spain'#
- source_label: str = 'Ministry of Health'#
- source_url: str = 'https://www.sanidad.gob.es/profesionales/saludPublica/ccayes/alertasActual/nCov/documentos/Datos_Pruebas_Realizadas_Historico_03102022.csv'#
- source_url_ref: str = 'https://www.sanidad.gob.es/profesionales/saludPublica/ccayes/alertasActual/nCov/pruebasRealizadas.htm'#
- test_url = 'https://www.sanidad.gob.es/profesionales/saludPublica/ccayes/alertasActual/nCov/documentos/Datos_Pruebas_Realizadas_Historico_03102022.csv'#
- units: str = 'tests performed'#
cowidev.testing.batch.sri_lanka#
- class cowidev.testing.batch.sri_lanka.SriLanka[source]#
Bases:
CountryTestBase
- location: str = 'Sri Lanka'#
- rename_columns: dict = {'date': 'Date'}#
- source_label: str = 'Sri Lanka Health Promotion Bureau'#
- source_url: str = 'https://www.hpb.health.gov.lk/api/get-current-statistical'#
- source_url_ref: str = 'https://www.hpb.health.gov.lk'#
- units: str = 'tests performed'#
cowidev.testing.batch.switzerland#
- class cowidev.testing.batch.switzerland.Switzerland[source]#
Bases:
CountryTestBase
Get related url from source
- location: str = 'Switzerland'#
- rename_columns: str = {'datum': 'Date', 'entries': 'Daily change in cumulative total'}#
- source_label: str = 'Federal Office of Public Health'#
- source_url: str = 'https://www.covid19.admin.ch/api/data/context'#
- source_url_ref: str = 'https://opendata.swiss/en/dataset/covid-19-schweiz'#
- units: str = 'tests performed'#
cowidev.testing.batch.taiwan#
- class cowidev.testing.batch.taiwan.Taiwan[source]#
Bases:
CountryTestBase
- location: str = 'Taiwan'#
- rename_columns: dict = {'Total': 'Daily change in cumulative total', '通報日': 'Date'}#
- source_label: str = 'Taiwan CDC Open Data Portal'#
- source_url: str = 'https://od.cdc.gov.tw/eic/covid19/covid19_tw_specimen.csv'#
- source_url_ref: str = 'https://data.cdc.gov.tw/en/dataset/daily-cases-suspected-sars-cov-2-infection_tested'#
- units: str = 'people tested'#
cowidev.testing.batch.thailand#
- class cowidev.testing.batch.thailand.Thailand[source]#
Bases:
CountryTestBase
- location: str = 'Thailand'#
- rename_columns: dict = {'Total Testing': 'Daily change in cumulative total'}#
- source_label: str = 'Department of Medical Sciences Ministry of Public Health'#
- source_url: str = 'https://data.go.th/dataset/9f6d900f-f648-451f-8df4-89c676fce1c4/resource/0092046c-db85-4608-b519-ce8af099315e/download'#
- source_url_ref: str = 'https://data.go.th/dataset/covid-19-testing-data'#
- units: str = 'tests performed'#
cowidev.testing.batch.trinidad_and_tobago#
- class cowidev.testing.batch.trinidad_and_tobago.TrinidadAndTobago[source]#
Bases:
CountryTestBase
- location: str = 'Trinidad and Tobago'#
- rename_columns: dict = {'attributes.CreationDate': 'Date', 'attributes.positive_tests': 'positive', 'attributes.unique_public_private_test': 'Cumulative total'}#
- source_label: str = 'Ministry of Health'#
- source_url: str = 'https://services3.arcgis.com/x3I4DqUw3b3MfTwQ/arcgis/rest/services/service_7a519502598f492a9094fd0ad503cf80/FeatureServer/0/query?f=json&resultOffset=0&resultRecordCount=32000&where=report_dt%20IS%20NOT%20NULL%20AND%20report_dt%20BETWEEN%20timestamp%20%272020-12-20%2021%3A00%3A00%27%20AND%20CURRENT_TIMESTAMP&orderByFields=report_dt%20asc&outFields=unique_public_private_test,CreationDate,positive_tests&resultType=standard&returnGeometry=false&spatialRel=esriSpatialRelIntersects'#
- source_url_ref: str = 'https://www.covid19.gov.tt/'#
- units: str = 'people tested'#
cowidev.testing.batch.turkey#
- class cowidev.testing.batch.turkey.Turkey[source]#
Bases:
CountryTestBase
- location: str = 'Turkey'#
- rename_columns: dict = {'Bugünkü Test Sayısı': 'Daily change in cumulative total', 'Tarih': 'Date', 'Toplam Test Sayısı': 'Cumulative total'}#
- source_label: str = 'Turkish Ministry of Health'#
- source_url: str = 'https://covid19.saglik.gov.tr/TR-66935/genel-koronavirus-tablosu.html'#
- source_url_ref: str = 'https://covid19.saglik.gov.tr/TR-66935/genel-koronavirus-tablosu.html'#
- units: str = 'tests performed'#
cowidev.testing.batch.united_arab_emirates#
- class cowidev.testing.batch.united_arab_emirates.UnitedArabEmirates[source]#
Bases:
CountryTestBase
- location: str = 'United Arab Emirates'#
- params: dict = {'f': 'json', 'orderByFields': 'DATE_ asc', 'outFields': 'DATE_,TESTS', 'returnGeometry': False, 'spatialRel': 'esriSpatialRelIntersects', 'where': '1=1'}#
- rename_columns: dict = {'attributes.DATE_': 'Date', 'attributes.TESTS': 'Daily change in cumulative total'}#
- source_label: str = 'UAE Federal Competitiveness and Statistics Authority'#
- source_url: str = 'https://geostat.fcsa.gov.ae/gisserver/rest/services/UAE_COVID19_Statistics_Rates_Layer/FeatureServer/0/query'#
- source_url_ref: str = 'https://fcsc.gov.ae/en-us/Pages/Covid19/UAE-Covid-19-Updates.aspx'#
- units: str = 'tests performed'#
cowidev.testing.batch.united_kingdom#
cowidev.testing.batch.united_states#
- class cowidev.testing.batch.united_states.UnitedStates[source]#
Bases:
CountryTestBase
- location: str = 'United States'#
- rename_columns: dict = {'date': 'Date'}#
- source_label: str = 'Department of Health & Human Services'#
- source_url: str = 'https://healthdata.gov/api/views/j8mb-icvb/rows.csv'#
- source_url_ref: str = 'https://healthdata.gov/dataset/COVID-19-Diagnostic-Laboratory-Testing-PCR-Testing/j8mb-icvb'#
- units: str = 'tests performed'#
cowidev.testing.batch.united_states_virgin_islands#
- class cowidev.testing.batch.united_states_virgin_islands.UnitedStatesVirginIslands[source]#
Bases:
CountryTestBase
- location: str = 'United States Virgin Islands'#
- rename_columns: dict = {'date': 'Date'}#
- source_label: str = 'Department of Health & Human Services'#
- source_url: str = 'https://healthdata.gov/api/views/j8mb-icvb/rows.csv'#
- source_url_ref: str = 'https://healthdata.gov/dataset/COVID-19-Diagnostic-Laboratory-Testing-PCR-Testing/j8mb-icvb'#
- units: str = 'tests performed'#
cowidev.testing.batch.uruguay#
- class cowidev.testing.batch.uruguay.Uruguay[source]#
Bases:
CountryTestBase
- location: str = 'Uruguay'#
- rename_columns: dict = {'date': 'Date', 'total': 'Cumulative total'}#
- source_label: str = 'Ministry of Public Health'#
- source_url: str = 'https://estadisticas.msp-uy.com/data.json'#
- source_url_ref: str = 'https://estadisticas.msp-uy.com/data.json'#
- testing_type = 'PCR only'#
- units: str = 'people tested'#
cowidev.testing.batch.zambia#
Constructs daily time series of COVID-19 testing data for Zambia. ArcGIS Dashboard: https://zambia-open-data-nsdi-mlnr.hub.arcgis.com/pages/zambia-covid19
- class cowidev.testing.batch.zambia.Zambia[source]#
Bases:
CountryTestBase
- location: str = 'Zambia'#