You need to have a local copy of COVID-DATA which is the data folder located in Google Drive of Sledilnik.
You can either:
- download a folder every time that fresh data needs to be processed ...or
- install Google Drive Backup and Sync desktop app (https://www.google.com/drive/download/) that takes care of automatic sync
If you decide to go with Backup and Sync app you need to take these steps to enable download and automatic sync COVID-DATA:
- Go to
Shared with mefolder - Select
COVID-DATAand pressShift + Zto create a hard link in your own namespace - Select the destination of
COVID-DATAunder your own namespace - Now
COVID-DATAwill show in the list of folders that are available for syncing to your own machine
In this folder run:
python3.8 -m venv venvorvirtualenv -p python3 venvsource venv/bin/activatepip install -r ../requirements.txtexport COVID_DATA_PATH=<the location of the COVID-DATA folder>python process.py
| CSV field | Meaning (EN) | Meaning (SI, original meaning) |
|---|---|---|
| examinations.medical_emergency | No. emergency medical examinations | Št. pregledov NMP |
| examinations.suspected_covid | No. examinations of suspected COVID | Št. pregledov suma na COVID |
| phone_triage.suspected_covid | No. suspected COVID without examination (telephone triage) | Št. sumov na COVID brez pregleda (triaža po telefonu) |
| tests.performed | No. COVID tests performed | Št. opravljenih testiranj COVID |
| tests.positive | No. positive COVID | Št. pozitivnih COVID |
| sent_to.hospital | No. sent to hospital | Št. napotitev v bolnišnico |
| sent_to.self_isolation | No. sent into self-isolation | Št. napotitev v samoosamitev |