cowidev.vax.incremental¶
cowidev.vax.incremental.africacdc¶
- class cowidev.vax.incremental.africacdc.AfricaCDC(skip_who: bool = False)[source]¶
Bases:
object- _base_url = 'https://services8.arcgis.com/vWozsma9VzGndzx7/ArcGIS/rest/services/Admin_Boundaries_Africa_corr_Go_Vaccine_DB_JOIN/FeatureServer/0'¶
- columns_rename = {'ADM0_SOVRN': 'location', 'Booster': 'total_boosters', 'FullyVacc': 'people_fully_vaccinated', 'TotAmtAdmi': 'total_vaccinations', 'VacAd1Dose': 'people_vaccinated'}¶
- columns_use = ['ADM0_SOVRN', 'TotAmtAdmi', 'FullyVacc', 'VacAd1Dose', 'Booster', 'ISO_3_CODE', 'VacAd2Dose', 'VaccApprov']¶
- pipe_filter_countries(df: DataFrame, countries: dict) DataFrame[source]¶
Get rows from selected countries.
- pipeline(df: DataFrame, countries: dict = {'Angola': 'Angola', 'Botswana': 'Botswana', 'Burkina Faso': 'Burkina Faso', 'Burundi': 'Burundi', 'Central African Republic': 'Central African Republic', 'Chad': 'Chad', 'Congo': 'Congo', 'Djibouti': 'Djibouti', 'Eswatini': 'Eswatini', 'Gabon': 'Gabon', 'Ghana': 'Ghana', 'Lesotho': 'Lesotho', 'Liberia': 'Liberia', 'Libya': 'Libya', 'Madagascar': 'Madagascar', 'Mauritania': 'Mauritania', 'Mauritius': 'Mauritius', 'Mozambique': 'Mozambique', 'Namibia': 'Namibia', 'Niger': 'Niger', 'Nigeria': 'Nigeria', 'Rwanda': 'Rwanda', 'Senegal': 'Senegal', 'Sudan': 'Sudan', 'Zambia': 'Zambia'}, exclude=True) DataFrame[source]¶
- property source_url¶
- property source_url_date¶
- source_url_ref = 'https://africacdc.org/covid-19-vaccination/'¶
cowidev.vax.incremental.antigua_barbuda¶
cowidev.vax.incremental.aruba¶
cowidev.vax.incremental.azerbaijan¶
- class cowidev.vax.incremental.azerbaijan.Azerbaijan[source]¶
Bases:
CountryVaxBase- location: str = 'Azerbaijan'¶
- regex = {'date': '(\\d{2}\\.\\d{2}\\.20\\d{2})', 'doses': '\\"Buster\\" doza vaksinlərin sayı (\\d+) (\\d+) (\\d+) (\\d+) (\\d+) Gün', 'title': 'Vaksinasiya'}¶
- source_url = 'https://koronavirusinfo.az'¶
cowidev.vax.incremental.bahrain¶
cowidev.vax.incremental.bangladesh¶
- class cowidev.vax.incremental.bangladesh.Bangladesh[source]¶
Bases:
object- location: str = 'Bangladesh'¶
- source_url: str = 'http://103.247.238.92/webportal/pages/covid19-vaccination-update.php'¶
- vaccines_rename = {'AstraZeneca': 'Oxford/AstraZeneca', 'Janssen (Johnson & Johnson)': 'Johnson&Johnson', 'Moderna': 'Moderna', 'Pfizer': 'Pfizer/BioNTech', 'Pfizer-PF (Comirnaty)': 'Pfizer/BioNTech', 'Sinopharm': 'Sinopharm/Beijing', 'Sinovac': 'Sinovac'}¶
cowidev.vax.incremental.barbados¶
- class cowidev.vax.incremental.barbados.Barbados[source]¶
Bases:
CountryVaxBase- location: str = 'Barbados'¶
- regex: dict = {'people_fully_vaccinated': 'fully? (?:vaccinated|vaccinated persons) is ([\\d,\\s]+)', 'people_vaccinated': 'at least one dose is ([\\d,\\s]+)', 'title': 'COVID-19 Update'}¶
- source_url: str = 'https://gisbarbados.gov.bb/top-stories/'¶
- source_url_ref: str = None¶
cowidev.vax.incremental.brazil¶
cowidev.vax.incremental.bulgaria¶
- class cowidev.vax.incremental.bulgaria.Bulgaria[source]¶
Bases:
CountryVaxBase- location: str = 'Bulgaria'¶
- source_url: str = 'https://coronavirus.bg/bg/statistika'¶
cowidev.vax.incremental.china¶
- class cowidev.vax.incremental.china.China[source]¶
Bases:
CountryVaxBase- chinese: str = '[\\u4e00-\\u9fff、()]*'¶
- location: str = 'China'¶
- metric: str = '((?:\\d+亿零?)?[\\d\\.]+万)'¶
- metric_ignore: str = '(?:\\d+亿[\\u4e00-\\u96f5\\u96f7-\\u9fff,]{1,5})?'¶
- month_day: str = ',?(?:\\d{2,4}年)?(\\d{1,2})月(\\d{1,2})[\\u4e00-\\u9fff,]{1,5}(?:\\d+个)?'¶
- num_links_complete: int = 3¶
- regex: dict = {'date': '截至(20\\d{2})年(\\d{1,2})月(\\d{1,2})日', 'title': '新冠病毒疫苗接种情况', 'total_vaccinations': '([\\d\\.]+\\s*万)剂次'}¶
- regex_complete: dict = {'boosters': '加强免疫[\\u4e00-\\u9fff、()]*接种[\\u4e00-\\u9fff、()]*(?:\\d+亿[\\u4e00-\\u96f5\\u96f7-\\u9fff,]{1,5})?((?:\\d+亿零?)?[\\d\\.]+万)', 'fully': '全程接种[\\u4e00-\\u9fff、()]*(?:\\d+亿[\\u4e00-\\u96f5\\u96f7-\\u9fff,]{1,5})?((?:\\d+亿零?)?[\\d\\.]+万)', 'summary': '截[\\u4e00-\\u9fff、()]*,?(?:\\d{2,4}年)?(\\d{1,2})月(\\d{1,2})[\\u4e00-\\u9fff,]{1,5}(?:\\d+个)?[\\u4e00-\\u9fff、()]*接种[\\u4e00-\\u9fff、()]*(?:\\d+亿[\\u4e00-\\u96f5\\u96f7-\\u9fff,]{1,5})?((?:\\d+亿零?)?[\\d\\.]+万)剂', 'title': '国务院(?:联防联控机制|新闻办公室)(20\\d{2})年(\\d{1,2})月(\\d{1,2})日新闻发布会', 'vaccinated': '接种[\\u4e00-\\u9fff、()]*总人数[\\u4e00-\\u9fff、()]*(?:\\d+亿[\\u4e00-\\u96f5\\u96f7-\\u9fff,]{1,5})?((?:\\d+亿零?)?[\\d\\.]+万)'}¶
- source_url: str = 'http://www.nhc.gov.cn/xcs/yqjzqk/list_gzbd.shtml'¶
- source_url_complete: str = 'http://www.nhc.gov.cn/xcs/s2906/new_list.shtml'¶
- timeout: int = 30¶
cowidev.vax.incremental.costa_rica¶
cowidev.vax.incremental.croatia¶
cowidev.vax.incremental.cuba¶
cowidev.vax.incremental.curacao¶
cowidev.vax.incremental.cyprus¶
cowidev.vax.incremental.dominican_republic¶
cowidev.vax.incremental.el_salvador¶
cowidev.vax.incremental.faeroe_islands¶
cowidev.vax.incremental.fiji¶
- class cowidev.vax.incremental.fiji.Fiji[source]¶
Bases:
CountryVaxBase- __element = None¶
- _get_list_of_elements(soup: BeautifulSoup) None[source]¶
Get the relevant elements list from the source page.
- _get_relevant_element_and_year() tuple[source]¶
Get the relevant element and year from the element list.
- _num_max_pages: int = 3¶
- _num_rows_per_page: int = 3¶
- location: str = 'Fiji'¶
- regex = {'booster': '(\\d+) individuals have so far received booster doses.', 'date': 'tests have been reported for (\\w+ \\d+)', 'title': 'COVID-19 Update', 'year': '\\d{4}'}¶
- source_url: str = 'https://www.health.gov.fj/page/'¶
- source_url_ref: str = ''¶
cowidev.vax.incremental.finland¶
- class cowidev.vax.incremental.finland.Finland[source]¶
Bases:
CountryVaxBase- location: str = 'Finland'¶
- metrics_mapping: dict = {'Booster dose': 'total_boosters', 'First dose': 'people_vaccinated', 'Second dose': 'people_fully_vaccinated', 'Third dose (NOT booster)': 'third_dose'}¶
- source_url: str = 'https://sampo.thl.fi/pivot/prod/en/vaccreg/cov19cov/fact_cov19cov.csv?row=vacprod-533726&row=measure-533175.&column=cov_vac_dose-533174&'¶
- source_url_ref: str = 'https://sampo.thl.fi/pivot/prod/en/vaccreg/cov19cov/fact_cov19cov'¶
- vaccine_mapping: dict = {'COVID-19 Vaccine Janssen (JANSSEN-CILAG)': 'Johnson&Johnson', 'Comirnaty (BioNTech)': 'Pfizer/BioNTech', 'Spikevax (MODERNA)': 'Moderna', 'Vaxzevria (AstraZeneca)': 'Oxford/AstraZeneca'}¶
cowidev.vax.incremental.gabon¶
cowidev.vax.incremental.georgia¶
cowidev.vax.incremental.greenland¶
cowidev.vax.incremental.guatemala¶
cowidev.vax.incremental.guernsey¶
cowidev.vax.incremental.hungary¶
- class cowidev.vax.incremental.hungary.Hungary[source]¶
Bases:
CountryVaxBase- parse_data_news_page(soup: BeautifulSoup)[source]¶
2021-09-10 We received confirmation from the International Communications Office, State Secretariat for International Communications and Relations, that the part of the report referring to people who received the 2nd dose (“közülük ([d ]+) fő már a második oltását is megkapt”) also included those who have received the J&J vaccine. On the other hand, we cannot estimate the number of vaccinations administered, as adding the two reported metrics would count J&J vaccines twice.
cowidev.vax.incremental.iceland¶
- class cowidev.vax.incremental.iceland.Iceland[source]¶
Bases:
CountryVaxBase- location: str = 'Iceland'¶
- metric_entities: dict = {'additional_doses': 'c1286d9e-254c-434a-9455-21b94969d163', 'people_fully_vaccinated': '16a69e30-01fd-4806-920c-436f8f29e9bf', 'people_vaccinated': '8d14f33a-d482-4176-af55-71209314b07b', 'total_boosters': '209af2de-9927-4c51-a704-ddc85e28bab9', 'total_vaccinations': '7287c058-7921-4abc-a667-ce298827c969'}¶
- source_url: str = 'https://e.infogram.com/c3bc3569-c86d-48a7-9d4c-377928f102bf'¶
- source_url_ref: str = 'https://www.covid.is/tolulegar-upplysingar-boluefni'¶
cowidev.vax.incremental.india¶
cowidev.vax.incremental.iran¶
- class cowidev.vax.incremental.iran.Iran[source]¶
Bases:
object- _base_url = 'https://irangov.ir/'¶
- _get_link_and_date_from_element(elem: Tag) tuple[source]¶
Extract link and date from relevant element.
- _num_max_pages = 3¶
- _url_subdirectory = 'ministry-of-health-and-medical-education'¶
- location = 'Iran'¶
- regex = {'date': '(\\d+\\-\\d+\\-\\d+)', 'people_fully_vaccinated': '(\\d+) people have so far received the second dose', 'people_vaccinated': '(\\d+) Iranians have received the first dose', 'title': "Health Ministry's Updates on COVID-19", 'total_boosters': '(\\d+) people have received the third dose'}¶
cowidev.vax.incremental.isle_of_man¶
- class cowidev.vax.incremental.isle_of_man.IsleOfMan[source]¶
Bases:
CountryVaxBase- property data_body¶
- property headers¶
- location: str = 'Isle of Man'¶
- metrics_mapping: dict = {'Booster dose': 'total_boosters', 'First dose': 'people_vaccinated', 'Second dose': 'people_fully_vaccinated', 'Third dose (NOT booster)': 'third_dose'}¶
- source_url: str = 'https://wabi-west-europe-b-primary-api.analysis.windows.net/public/reports/querydata?synchronous=true'¶
- source_url_ref: str = 'https://covid19.gov.im/general-information/covid-19-vaccination-statistics/'¶
cowidev.vax.incremental.jamaica¶
cowidev.vax.incremental.kazakhstan¶
- class cowidev.vax.incremental.kazakhstan.Kazakhstan[source]¶
Bases:
CountryVaxBase- location: str = 'Kazakhstan'¶
- source_url = 'https://www.coronavirus2020.kz/'¶
cowidev.vax.incremental.kosovo¶
- class cowidev.vax.incremental.kosovo.Kosovo[source]¶
Bases:
CountryVaxBase- location: str = 'Kosovo'¶
- regex: dict = {'Boosters': 'Numri i dozave përforcuese të administruara', 'Dose2': 'Numri i të vaksinuarve me të dy dozat', 'Dose3': 'Numri i dozave të treta të administruara', 'Total': 'Numri total i vaksinave të administruara'}¶
- source_url: str = 'https://msh.rks-gov.net/sq/statistikat-covid-19/'¶
- source_url_ref: str = 'https://msh.rks-gov.net/sq/statistikat-covid-19/'¶
cowidev.vax.incremental.kyrgyzstan¶
cowidev.vax.incremental.laos¶
cowidev.vax.incremental.macao¶
cowidev.vax.incremental.moldova¶
- class cowidev.vax.incremental.moldova.Moldova[source]¶
Bases:
CountryVaxBase- location: str = 'Moldova'¶
- source_url = 'https://vaccinare.gov.md'¶
cowidev.vax.incremental.monaco¶
- class cowidev.vax.incremental.monaco.Monaco[source]¶
Bases:
CountryVaxBase- _base_url = 'https://www.gouv.mc'¶
- _num_max_pages = 5¶
- location: str = 'Monaco'¶
- regex = {'date': 'voici les chiffres arrêtés au (\\d+ \\w+) inclus', 'people_fully_vaccinated': 'Nombre de personnes ayant reçu l’injection de rappel\\s:\\s([\\d\\.]+)', 'people_vaccinated': 'Nombre de personnes vaccinées en primo injection\\s:\\s([\\d\\.]+)', 'title': 'Covid-19 : .*'}¶
- source_url = 'https://www.gouv.mc/Action-Gouvernementale/Coronavirus-Covid-19/Actualites/'¶
cowidev.vax.incremental.mongolia¶
cowidev.vax.incremental.montenegro¶
cowidev.vax.incremental.morocco¶
cowidev.vax.incremental.myanmar¶
- class cowidev.vax.incremental.myanmar.Myanmar[source]¶
Bases:
object- _base_url = 'https://mohs.gov.mm'¶
- _get_link_and_date_from_element(elem: NavigableString) tuple[source]¶
Extracts link and date from relevant element.
- _get_relevant_element(soup: BeautifulSoup) NavigableString[source]¶
Gets the relevant element in news feed.
- _num_max_pages = 3¶
- _url_subdirectory = '/main/content/new/list?pagesize=9&pagenumber='¶
- location = 'Myanmar'¶
- regex = {'date': '(\\d{1,2}\\-\\d{1,2}\\-20\\d{2})', 'people_fully_vaccinated': '(\\d+) \\(Cumulative fully vaccinated people\\)', 'people_vaccinated': '(\\d+) \\(Cumulative vaccinated people\\)', 'title': 'ကိုဗစ်-19 ရောဂါ ကာကွယ်ဆေး ထိုးနှံပြီးစီးမှု', 'total_vaccinations': '(\\d+) \\(Cumulative vaccinated doses\\)'}¶
cowidev.vax.incremental.nepal¶
- class cowidev.vax.incremental.nepal.Nepal[source]¶
Bases:
CountryVaxBase- extract_clean_count_series(df: DataFrame, regex: str) list[source]¶
Extracts clean count from series using regex.
- location: str = 'Nepal'¶
- pipe_manufacturer_vaccine(df: DataFrame) DataFrame[source]¶
Pipes vaccine names for manufacturer data.
- regex: dict = {'count': '\\d+', 'date': '(\\d{1,2}\\-\\d{1,2}\\-20\\d{2})'}¶
- source_url: dict = {'api': 'https://covid19.mohp.gov.np/covid/api/ministryrelease', 'base': 'https://covid19.mohp.gov.np/covid/englishSituationReport/'}¶
- source_url_ref: dict = {'main': 'https://covid19.mohp.gov.np/situation-report'}¶
cowidev.vax.incremental.north_macedonia¶
cowidev.vax.incremental.northern_cyprus¶
cowidev.vax.incremental.paho¶
- class cowidev.vax.incremental.paho.PAHO[source]¶
Bases:
object- _download_path = '/tmp'¶
- columns_mapping = {'1st additional dose': 'total_boosters_1', '2nd additional dose': 'total_boosters_2', 'Country code': 'country_code', 'Country/ Territory': 'location', 'First dose': 'dose_1', 'Second dose': 'dose_2', 'Single dose': 'single_dose', 'Total doses': 'total_vaccinations', 'date': 'date'}¶
- source_url = 'https://ais.paho.org/imm/IM_DosisAdmin-Vacunacion.asp'¶
cowidev.vax.incremental.pakistan¶
cowidev.vax.incremental.philippines¶
- class cowidev.vax.incremental.philippines.Philippines[source]¶
Bases:
CountryVaxBase- date_entity: str = '01ff1d02-e027-4eee-9de1-5e19f7fdd5e8'¶
- location: str = 'Philippines'¶
- metric_entities: dict = {'people_fully_vaccinated': 'a4c3cd88-85f7-44ea-b48f-1c97618f1e48', 'people_vaccinated': '32ae0a31-293e-48ea-91cf-e4518496d6bdc9fe1875-6600-4e45-ae6d-a48d9b8a1eae', 'total_boosters': '2c3bf26f-5d71-4793-b6de-4f6b0f1735626ba8b43e-d7c0-4f38-91ff-61d7d8770432', 'total_vaccinations': '4b9e949e-2990-4349-aa85-5aff8501068a'}¶
- source_url: str = 'https://e.infogram.com/_/yFVE69R1WlSdqY3aCsBF'¶
- source_url_ref: str = 'https://news.abs-cbn.com/spotlight/multimedia/infographic/03/23/21/philippines-covid-19-vaccine-tracker'¶
cowidev.vax.incremental.poland¶
- class cowidev.vax.incremental.poland.Poland[source]¶
Bases:
object- columns_rename: dict = {'DAWKA_1_SUMA': 'people_vaccinated', 'Data': 'date', 'SZCZEPIENIA_SUMA': 'total_vaccinations', 'dawka_3_suma': 'dose_3', 'dawka_przypominajaca': 'total_boosters', 'zaszczepieni_finalnie': 'people_fully_vaccinated'}¶
- location: str = 'Poland'¶
- source_url: str = 'https://services-eu1.arcgis.com/zk7YlClTgerl62BY/ArcGIS/rest/services/widok_global_szczepienia_actual/FeatureServer/0/query'¶
- source_url_ref: str = 'https://www.gov.pl/web/szczepimysie/raport-szczepien-przeciwko-covid-19'¶
cowidev.vax.incremental.qatar¶
- class cowidev.vax.incremental.qatar.Qatar[source]¶
Bases:
CountryVaxBase- location: str = 'Qatar'¶
- source_url = 'https://covid19.moph.gov.qa/EN/Pages/Vaccination-Program-Data.aspx'¶
cowidev.vax.incremental.russia¶
cowidev.vax.incremental.saint_lucia¶
cowidev.vax.incremental.serbia¶
cowidev.vax.incremental.south_africa¶
- class cowidev.vax.incremental.south_africa.SouthAfrica[source]¶
Bases:
CountryVaxBase- _payload(payload_var: str = 'Pfizer_first') dict[source]¶
Request payload for the source.
- Parameters:
payload_var (str): A key in payload_vars (e.g. “Pfizer_first”)
- Returns:
dict: A payload for the request
- property headers¶
Headers for the request
- location: str = 'South Africa'¶
- payload_vars = {'Johnson_booster': {'Entity': 'Boosters Measures', 'Name': 'Boosters Measures.Booster Totals', 'Property': 'Booster Totals', 'Value': "'Johnson & Johnson'"}, 'Johnson_first': {'Entity': 'Vaccinations Administered Measures', 'Name': 'Vaccinations Administered Measures.First Dose Total', 'Property': 'First Dose Total', 'Value': "'Johnson & Johnson'"}, 'Pfizer_booster': {'Entity': 'Boosters Measures', 'Name': 'Boosters Measures.Booster Totals', 'Property': 'Booster Totals', 'Value': "'Pfizer'"}, 'Pfizer_first': {'Entity': 'Vaccinations Administered Measures', 'Name': 'Vaccinations Administered Measures.First Dose Total', 'Property': 'First Dose Total', 'Value': "'Pfizer'"}, 'Pfizer_second': {'Entity': 'Vaccinations Administered Measures', 'Name': 'Vaccinations Administered Measures.Second Dose Total', 'Property': 'Second Dose Total', 'Value': "'Pfizer'"}}¶
- pipe_manufacturer_vaccine(df: DataFrame) DataFrame[source]¶
Pipes vaccine names for manufacturer data.
- source_url: str = 'https://wabi-west-europe-api.analysis.windows.net/public/reports/querydata?synchronous=true'¶
- source_url_ref: str = 'https://sacoronavirus.co.za/latest-vaccine-statistics/'¶
cowidev.vax.incremental.spain¶
- class cowidev.vax.incremental.spain.Spain[source]¶
Bases:
CountryVaxBase- _date_field_raw = 'Fecha de la última vacuna registrada (2)'¶
- _max_days_back = 20¶
- _parse_data(last_update: str)[source]¶
Goes back _max_days_back days to retrieve data.
Does not exceed last_update date.
- location: str = 'Spain'¶
- vaccine_mapping = {'AstraZeneca': 'Oxford/AstraZeneca', 'Janssen': 'Johnson&Johnson', 'Moderna': 'Moderna', 'Pfizer': 'Pfizer/BioNTech'}¶
cowidev.vax.incremental.sri_lanka¶
- class cowidev.vax.incremental.sri_lanka.SriLanka[source]¶
Bases:
CountryVaxBase
cowidev.vax.incremental.suriname¶
cowidev.vax.incremental.taiwan¶
- class cowidev.vax.incremental.taiwan.Taiwan[source]¶
Bases:
object- location = 'Taiwan'¶
- property source_data_url¶
- source_url = 'https://www.cdc.gov.tw'¶
- vaccines_mapping = {'AstraZeneca': 'Oxford/AstraZeneca', 'BioNTech': 'Pfizer/BioNTech', 'Moderna': 'Moderna', 'Moderna 雙價\rBA.1': 'Moderna', 'Novavax': 'Novavax', '高端': 'Medigen'}¶
cowidev.vax.incremental.thailand¶
cowidev.vax.incremental.turkey¶
cowidev.vax.incremental.united_arab_emirates¶
cowidev.vax.incremental.vietnam¶
- class cowidev.vax.incremental.vietnam.Vietnam[source]¶
Bases:
object- base_url = 'https://covid19.gov.vn'¶
- location = 'Vietnam'¶
- regex = {'date': '(\\d{2}/\\d{2}/\\d{4})', 'metrics': {'adolescent': '\\+ Số liều tiêm cho trẻ từ 12\\-17 tuổi là ([\\d\\.]+) liều: Mũi 1 là ([\\d\\.]+) liều; Mũi 2 là ([\\d\\.]+) liều.', 'adult': 'Số liều tiêm cho người từ 18 tuổi trở lên là ([\\d\\.]+) liều: Mũi 1 là ([\\d\\.]+) liều; Mũi 2 là ([\\d\\.]+) liều; Mũi 3 là ([\\d\\.]+) liều; Mũi bổ sung là ([\\d\\.]+) liều; Mũi nhắc lại lần 1 là ([\\d\\.]+) liều; Mũi nhắc lại lần 2 là ([\\d\\.]+) liều.', 'all': 'Trong ngày (\\d\\d?\\/\\d) có (?:[\\d\\.]+) liều vacc?cine phòng COVID-19 đ?ược tiêm(?: chủng)?. Như vậy, tổng số liều (?:vắc xin|vaccine) đã được tiêm là ([\\d\\.]+) liều, trong đó:', 'children': '\\+ Số liều tiêm cho trẻ từ 5\\-11 tuổi là ([\\d\\.]+) liều: Mũi 1 là ([\\d\\.]+) liều; Mũi 2 là ([\\d\\.]+) liều.'}, 'title': 'Ngày'}¶
- source_url = 'https://covid19.gov.vn/ban-tin-covid-19.htm'¶
cowidev.vax.incremental.who¶
- class cowidev.vax.incremental.who.WHO[source]¶
Bases:
CountryVaxBase- location: str = 'WHO'¶
- pipe_filter_entries(df: DataFrame) DataFrame[source]¶
Get valid entries:
Countries not coming from OWID (avoid loop)
Rows with total_vaccinations >= people_vaccinated >= people_fully_vaccinated
- pipe_map_vaccines(df: DataFrame) DataFrame[source]¶
Based on the list of known vaccines, identifies whether each country is using only 2-dose vaccines or also some 1-dose vaccines. This determines whether people_fully_vaccinated can be calculated as total_vaccinations - people_vaccinated. Vaccines check
- rename_columns = {'COUNTRY': 'location', 'DATE_UPDATED': 'date', 'VACCINES_USED': 'vaccine'}¶
- source_url = 'https://covid19.who.int/who-data/vaccination-data.csv'¶
- source_url_ref = 'https://covid19.who.int/'¶
cowidev.vax.incremental.zambia¶
- class cowidev.vax.incremental.zambia.Zambia[source]¶
Bases:
CountryVaxBase