# Covid-Big-Bappenas Package
A helper pip package for Covid BIG BAPPENAS Project
### Assumptions:
+ Assuming python is installed on your system.
Installation sets up command
**************************************
Situation before installation::
$ covid_big_bappenas
bash: covid_big_bappenas: command not found
Installation right from the source tree (or via pip from PyPI)::
$ python setup.py install
$ pip install covid_big_bappenas
Now, the ``covid_big_bappenas`` command is available::
$ covid_big_bappenas --help
Welcome to Covid-Big-Bappenas Package!
===============================================
Author: Muhammad Hasannudin Yusa
Office: Pusat PPIG - Badan Informasi Geospasial
Email: muhammad.hasannudin@big.go.id
===============================================
Usage: main.py [OPTIONS] TASK
Options:
--key TEXT The key to login.
--help Show this message and exit.
$ covid_big_bappenas --key d0osm19di1o************** indikator1
Welcome to Covid-Big-Bappenas Package!
===============================================
Author: Muhammad Hasannudin Yusa
Office: Pusat PPIG - Badan Informasi Geospasial
Email: muhammad.hasannudin@big.go.id
===============================================
Task: indikator1
Harvester is initiated!
Try to connect to BLC: https://data.covid19.go.id
Harvest data for indikator1
Connected!
Get list all regencies and municipalities
Done!
Harvesting is started
1, ACEH - ACEH BARAT
2, ACEH - ACEH BARAT DAYA
3, ACEH - ACEH BESAR
...
512, SUMATERA UTARA - TAPANULI TENGAH
513, SUMATERA UTARA - TAPANULI UTARA
514, SUMATERA UTARA - TOBA SAMOSIR
Harvesting is finished
Data is saved successfully. The file name is 20200714-123250_indikator1_kabkot.csv
$ covid_big_bappenas indikator1
Welcome to Covid-Big-Bappenas Package!
===============================================
Author: Muhammad Hasannudin Yusa
Office: Pusat PPIG - Badan Informasi Geospasial
Email: muhammad.hasannudin@big.go.id
===============================================
Your key: d0osm19di1o**************
Task: indikator1
Harvester is initiated!
Try to connect to BLC: https://data.covid19.go.id
Harvest data for indikator1
Connected!
Get list all regencies and municipalities
Done!
Harvesting is started
1, ACEH - ACEH BARAT
2, ACEH - ACEH BARAT DAYA
3, ACEH - ACEH BESAR
...
512, SUMATERA UTARA - TAPANULI TENGAH
513, SUMATERA UTARA - TAPANULI UTARA
514, SUMATERA UTARA - TOBA SAMOSIR
Harvesting is finished
Data is saved successfully. The file name is 20200714-123250_indikator1_kabkot.csv
$ covid_big_bappenas indikator3
Welcome to Covid-Big-Bappenas Package!
===============================================
Author: Muhammad Hasannudin Yusa
Office: Pusat PPIG - Badan Informasi Geospasial
Email: muhammad.hasannudin@big.go.id
===============================================
Your key: d0osm19di1o**************
Task: indikator3
Harvester is initiated!
Try to connect to BLC: https://data.covid19.go.id
Harvest data for indikator3
Connected!
Get list all provinces
Done!
Harvesting is started
1, PAPUA BARAT
2, BANTEN
3, KALIMANTAN SELATAN
...
32, SULAWESI UTARA
33, SULAWESI TENGAH
34, PAPUA
Harvesting is finished
Data is saved successfully. The file name is 20200714-123107_indikator3_prov.csv