Coder Social home page Coder Social logo

dz_covid19_data_retrieval's Introduction

DZ COVID19 Data Retrieval

About

This repository contains a small script which allows to download data from some websites that follows the situation of the COVID-19 in Algeria at province level.

The data is obtained by calling the internal API of the website selected. The information gathered can differ depending on the website. Generally, they offer at least the number of cases for each province from the provinces affected by the epidemic.

The useful data will be retained and converted into a JSON file that can be saved or printed on the standard output.

حول

هذا المستودع يحوي برنامجا نصيا صغيرا يسمح يتنزيل بيانات من بعض المواقع التي تتبع وضع كوفيد-19 في الجزائر على المستوى الولائي.
تمّ الحصول على هذه البيانات باستدعاء واجهة البرمجة التطبيقية الداخلية للموقع الشبكي المختار. المعلومات الملتقطة قد تختلف اعتمادا على الموقع الشبكي. عادة، يوفرون على الأقل عدد الحالات لكل ولاية من الولاية المتأثّرة بالوباء.
يتمّ ابقاء البيانات المفيدة وتحويلها إلى ملف JSON يمكن حفظه أو طباعة محتواه في المخرج القياسي.

Usage

$ python3 dz_covid19_data_retriever.py --source {COVID19Maghreb,COVID19Algeria} [--output-file OUTPUT_FILE] [--historical]

Examples

Get the latest data from Yassir COVID-19 Maghreb and display it:

$ python3 dz_covid19_data_retriever.py --source COVID19Maghreb

Get the historical data from COVID19Algeria COVID-19 Algeria and save it into a JSON file named COVID19_COVID19Algeria_DZ_history.json

$ python3 dz_covid19_data_retriever_msprh.py --source COVID19Algeria  --output-file COVID19_COVID19Algeria_DZ_history.json

dz_covid19_data_retrieval's People

Contributors

allilou avatar hamza5 avatar

Watchers

 avatar

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.