예제 #1
0
 def export(self, paths):
     data = self.read().pipe(self.pipeline)
     increment(
         paths=paths,
         location=data["location"],
         total_vaccinations=int(data["total_vaccinations"]),
         people_fully_vaccinated=int(data["people_fully_vaccinated"]),
         date=data["date"],
         source_url=data["source_url"],
         vaccine=data["vaccine"],
     )
예제 #2
0
 def export(self):
     data = self.read().pipe(self.pipeline)
     increment(
         location=data["location"],
         total_vaccinations=data["total_vaccinations"],
         people_vaccinated=data["people_vaccinated"],
         people_fully_vaccinated=data["people_fully_vaccinated"],
         date=data["date"],
         source_url=data["source_url"],
         vaccine=data["vaccine"],
     )
예제 #3
0
def main():
    source = "https://kovid19vakcinacija.mk/"
    data = read(source).pipe(pipeline, source)
    increment(
        location=data["location"],
        total_vaccinations=data["total_vaccinations"],
        people_vaccinated=data["people_vaccinated"],
        date=data["date"],
        source_url=data["source_url"],
        vaccine=data["vaccine"],
    )
예제 #4
0
 def export(self):
     data = self.read().pipe(self.pipeline)
     increment(
         location=str(data["location"]),
         total_vaccinations=int(data["total_vaccinations"]),
         people_vaccinated=int(data["people_vaccinated"]),
         people_fully_vaccinated=int(data["people_fully_vaccinated"]),
         total_boosters=int(data["total_boosters"]),
         date=str(data["date"]),
         source_url=str(data["source_url"]),
         vaccine=str(data["vaccine"]),
     )
예제 #5
0
def main():
    source = "https://www.covid19response.lc/"
    data = read(source).pipe(pipeline)
    increment(
        location=data["location"],
        total_vaccinations=data["total_vaccinations"],
        people_vaccinated=data["people_vaccinated"],
        people_fully_vaccinated=data["people_fully_vaccinated"],
        date=data["date"],
        source_url=data["source_url"],
        vaccine=data["vaccine"],
    )
예제 #6
0
 def export(self):
     data = self.read().pipe(self.pipeline)
     increment(
         location=self.location,
         total_vaccinations=data["total_vaccinations"],
         people_vaccinated=data["people_vaccinated"],
         people_fully_vaccinated=data["people_fully_vaccinated"],
         total_boosters=data["total_boosters"],
         date=data["date"],
         source_url=self.source_url_ref,
         vaccine=self.vaccine,
     )
예제 #7
0
 def to_csv(self, paths):
     data = self.read().pipe(self.pipeline)
     increment(
         paths=paths,
         location=self.location,
         total_vaccinations=data["total_vaccinations"],
         people_vaccinated=data["people_vaccinated"],
         people_fully_vaccinated=data["people_fully_vaccinated"],
         date=data["date"],
         source_url=self.source_url,
         vaccine=data["vaccine"],
     )
예제 #8
0
def main(paths):
    source = "https://vaccinare.gov.md/"
    data = read(source).pipe(pipeline)
    increment(
        paths=paths,
        location=data["location"],
        total_vaccinations=data["total_vaccinations"],
        people_fully_vaccinated=data["people_fully_vaccinated"],
        date=data["date"],
        source_url=data["source_url"],
        vaccine=data["vaccine"],
    )
예제 #9
0
 def export(self):
     data = self.read()
     increment(
         location=self.location,
         total_vaccinations=data["total_vaccinations"],
         people_vaccinated=data["people_vaccinated"],
         people_fully_vaccinated=data["people_fully_vaccinated"],
         total_boosters=data["total_boosters"],
         date=data["date"],
         source_url=data["source_url"],
         vaccine="Pfizer/BioNTech, Sinopharm/Beijing",
     )
예제 #10
0
 def to_csv(self, paths):
     data = self.read()
     increment(
         paths=paths,
         location=data["location"],
         total_vaccinations=data["total_vaccinations"],
         people_vaccinated=data["people_vaccinated"],
         people_fully_vaccinated=data["people_fully_vaccinated"],
         date=data["date"],
         source_url=data["source_url"],
         vaccine=data["vaccine"],
     )
예제 #11
0
def main(paths):
    source = "https://coronavirus.bg/bg/statistika"
    data = read(source).pipe(pipeline)
    increment(
        paths=paths,
        location=data["location"],
        total_vaccinations=int(data["total_vaccinations"]),
        people_fully_vaccinated=int(data["people_fully_vaccinated"]),
        date=data["date"],
        source_url=data["source_url"],
        vaccine=data["vaccine"],
    )
예제 #12
0
def main():
    source = "https://www.koronavirus.hr/data/stats_latest.json"
    data = read(source).pipe(pipeline)
    increment(
        location=data["location"],
        total_vaccinations=data["total_vaccinations"],
        people_vaccinated=data["people_vaccinated"],
        people_fully_vaccinated=data["people_fully_vaccinated"],
        date=data["date"],
        source_url=data["source_url"],
        vaccine=data["vaccine"],
    )
예제 #13
0
def main():
    source = "https://api.dvgapp.org/healthcheck-restful-api/public/population/total"
    data = read(source).pipe(pipeline)
    increment(
        location=data["location"],
        total_vaccinations=data["total_vaccinations"],
        people_vaccinated=data["people_vaccinated"],
        people_fully_vaccinated=data["people_fully_vaccinated"],
        date=data["date"],
        source_url="https://www.government.aw",
        vaccine=data["vaccine"],
    )
예제 #14
0
 def to_csv(self, paths):
     data = self.read().pipe(self.pipeline)
     increment(
         paths=paths,
         location=str(data["location"]),
         total_vaccinations=int(data["total_vaccinations"]),
         people_vaccinated=int(data["people_vaccinated"]),
         people_fully_vaccinated=int(data["people_fully_vaccinated"]),
         date=str(data["date"]),
         source_url=str(data["source_url"]),
         vaccine=str(data["vaccine"]),
     )
예제 #15
0
def main(paths):
    source = "https://impactpublicdashboard.cib.gov.lb/s/public/elasticsearch/vaccine_registration_event_data/_search?rest_total_hits_as_int=true&ignore_unavailable=true&ignore_throttled=true&preference=1635837427794&timeout=30000ms"
    data = read(source).pipe(pipeline)
    increment(
        paths=paths,
        location=data["location"],
        total_vaccinations=data["total_vaccinations"],
        people_vaccinated=data["people_vaccinated"],
        people_fully_vaccinated=data["people_fully_vaccinated"],
        date=data["date"],
        source_url=data["source_url"],
        vaccine=data["vaccine"],
    )
예제 #16
0
def main(paths):
    source = "https://www.coronavirus2020.kz/"
    data = read(source).pipe(pipeline)
    increment(
        paths=paths,
        location=data["location"],
        total_vaccinations=data["total_vaccinations"],
        people_vaccinated=data["people_vaccinated"],
        people_fully_vaccinated=data["people_fully_vaccinated"],
        date=data["date"],
        source_url=source,
        vaccine=data["vaccine"],
    )
예제 #17
0
def main(paths):
    source = "https://atlas.jifo.co/api/connectors/520021dc-c292-4903-9cdb-a2467f64ed97"
    data = read(source).pipe(pipeline)
    increment(
        paths=paths,
        location=str(data["location"]),
        total_vaccinations=int(data["total_vaccinations"]),
        people_vaccinated=int(data["people_vaccinated"]),
        people_fully_vaccinated=int(data["people_fully_vaccinated"]),
        date=str(data["date"]),
        source_url=str(data["source_url"]),
        vaccine=str(data["vaccine"]),
    )
예제 #18
0
def main(paths):
    source = "https://bakuna-counter.ibis-management.com/init/"
    data = read(source).pipe(pipeline)
    increment(
        paths=paths,
        location=data["location"],
        total_vaccinations=data["total_vaccinations"],
        people_vaccinated=data["people_vaccinated"],
        people_fully_vaccinated=data["people_fully_vaccinated"],
        date=data["date"],
        source_url="https://bakuna.cw/",
        vaccine=data["vaccine"],
    )
예제 #19
0
def main():
    source = "https://datastudio.google.com/u/0/reporting/d316df2b-49e0-4c3e-aa51-0900828d8cf5/page/igSUC"
    data = read(source).pipe(pipeline)
    increment(
        location=data["location"],
        total_vaccinations=data["total_vaccinations"],
        people_vaccinated=data["people_vaccinated"],
        people_fully_vaccinated=data["people_fully_vaccinated"],
        total_boosters=data["total_boosters"],
        date=data["date"],
        source_url=data["source_url"],
        vaccine=data["vaccine"],
    )
예제 #20
0
def main():
    source = "https://asi.saglik.gov.ct.tr/"
    data = read(source).pipe(pipeline, source)
    increment(
        location=data["location"],
        total_vaccinations=data["total_vaccinations"],
        people_vaccinated=data["people_vaccinated"],
        people_fully_vaccinated=data["people_fully_vaccinated"],
        total_boosters=data["total_boosters"],
        date=data["date"],
        source_url=data["source_url"],
        vaccine=data["vaccine"],
    )
예제 #21
0
def main(paths):
    source = "https://www.kantei.go.jp/jp/headline/kansensho/vaccine.html"
    data = read(source).pipe(pipeline)
    increment(
        paths=paths,
        location=data["location"],
        total_vaccinations=data["total_vaccinations"],
        people_vaccinated=data["people_vaccinated"],
        people_fully_vaccinated=data["people_fully_vaccinated"],
        date=data["date"],
        source_url=data["source_url"],
        vaccine=data["vaccine"],
    )
예제 #22
0
def main(paths):
    source = "https://www.koronavirus.hr/json/?action=podaci_zadnji"
    data = read(source).pipe(pipeline)
    increment(
        paths=paths,
        location=data["location"],
        total_vaccinations=data["total_vaccinations"],
        people_vaccinated=data["people_vaccinated"],
        people_fully_vaccinated=data["people_fully_vaccinated"],
        date=data["date"],
        source_url=data["source_url"],
        vaccine=data["vaccine"],
    )
예제 #23
0
def main(paths):
    source = "https://sisa.msal.gov.ar/datos/descargas/covid-19/files/Covid19VacunasAgrupadas.csv.zip"
    data = read(source).pipe(pipeline)
    increment(
        paths=paths,
        location=str(data["location"]),
        total_vaccinations=int(data["total_vaccinations"]),
        people_vaccinated=int(data["people_vaccinated"]),
        people_fully_vaccinated=int(data["people_fully_vaccinated"]),
        date=str(data["date"]),
        source_url=str(data["source_url"]),
        vaccine=str(data["vaccine"]),
    )
예제 #24
0
def main(paths):
    source = "https://gogov.ru/articles/covid-v-stats"
    data = read(source).pipe(pipeline)
    increment(
        paths=paths,
        location=data["location"],
        total_vaccinations=int(data["total_vaccinations"]),
        people_vaccinated=int(data["people_vaccinated"]),
        people_fully_vaccinated=int(data["people_fully_vaccinated"]),
        date=data["date"],
        source_url=data["source_url"],
        vaccine=data["vaccine"],
    )
예제 #25
0
def main(paths):
    source = "https://www.exploregov.ky/coronavirus-statistics"
    data = read(source).pipe(pipeline)
    increment(
        paths=paths,
        location=data["location"],
        total_vaccinations=data["total_vaccinations"],
        people_vaccinated=data["people_vaccinated"],
        people_fully_vaccinated=data["people_fully_vaccinated"],
        date=data["date"],
        source_url=data["source_url"],
        vaccine=data["vaccine"],
    )
예제 #26
0
def main(paths):
    source = "https://datastudio.google.com/embed/u/0/reporting/1a7548f9-83d0-4516-8fe6-cacec6a293c4/page/igSUC"
    data = read(source).pipe(pipeline)
    increment(
        paths=paths,
        location=data["location"],
        total_vaccinations=data["total_vaccinations"],
        people_vaccinated=data["people_vaccinated"],
        people_fully_vaccinated=data["people_fully_vaccinated"],
        date=data["date"],
        source_url=data["source_url"],
        vaccine=data["vaccine"],
    )
예제 #27
0
 def to_csv(self, paths):
     """Generalized."""
     ds = self.read().pipe(self.pipeline)
     increment(
         paths=paths,
         location=ds["location"],
         total_vaccinations=ds["total_vaccinations"],
         people_vaccinated=ds["people_vaccinated"],
         people_fully_vaccinated=ds["people_fully_vaccinated"],
         date=ds["date"],
         source_url=ds["source_url"],
         vaccine=ds["vaccine"],
     )
예제 #28
0
def main():
    source = "https://www.moh.gov.cy/moh/moh.nsf/All/0EFA027144C9E54AC22586BE0032B2F5"
    data = read(source).pipe(pipeline)
    increment(
        location=data["location"],
        total_vaccinations=data["total_vaccinations"],
        people_vaccinated=data["people_vaccinated"],
        people_fully_vaccinated=data["people_fully_vaccinated"],
        total_boosters=data["total_boosters"],
        date=data["date"],
        source_url=data["source_url"],
        vaccine=data["vaccine"],
    )
예제 #29
0
 def export(self):
     data = self.read().pipe(self.pipeline)
     increment(
         location=self.location,
         total_vaccinations=data["total_vaccinations"],
         people_vaccinated=data["people_vaccinated"],
         people_fully_vaccinated=data["people_fully_vaccinated"],
         total_boosters=data["total_boosters"],
         date=data["date"],
         source_url=data["source_url"],
         vaccine=data["vaccine"],
     )
     self.force_monotonic()
예제 #30
0
def main(paths):
    source = "https://ikon.mn/api/json/vaccine"
    data = read(source).pipe(pipeline)
    increment(
        paths=paths,
        location=str(data["location"]),
        total_vaccinations=int(data["total_vaccinations"]),
        people_vaccinated=int(data["people_vaccinated"]),
        people_fully_vaccinated=int(data["people_fully_vaccinated"]),
        date=str(data["date"]),
        source_url=str(data["source_url"]),
        vaccine=str(data["vaccine"]),
    )