Skip to content

Fetches official covid-19 statistics and generates a prepared spreadsheet

License

Notifications You must be signed in to change notification settings

malcolmamal/covid

Repository files navigation

covid

Tool that fetches official covid data, parses them and generates a prepared output.

PHP Composer License: MIT

Requirements

  • PHP ^7.1
  • composer
  • wget

Download

Go to the releases page and download the latest version.

Installation

composer install

Usage

php index.php download
php index.php generate

or

php index.php generate --download

You can also provide options for generation

php index.php generate --mode main|all|test

To include charts in the generated output

php index.php generate --with-charts

To change the rolling average

php index.php generate --avg week|fortnight

To pick a specific country for generation

php index.php generate --country Poland

or a list of countries

php index.php generate --country Poland --country US --country Germany

Additional commands

List available countries

 php index.php list:countries
 php index.php list:countries --with-provinces

Creates local config if one needs to change some settings

 php index.php make:config
 php index.php make:config --force

About

Fetches official covid-19 statistics and generates a prepared spreadsheet

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages