schoolofdata-ch / swisscovid-stats

Deployment statistics of the SwissCovid app


SwissCovid-Stats

Collects the total number of daily active SwissCovid app users, originating from the Swiss Federal Office of Information Technology, Systems and Telecommunication (FOITT) and published by the Federal Office of Statistics at experimental.bfs.admin.ch.

With the release of the public app on June 25, 2020, data can be analysed based on the infrastructure of app-based proximity tracing. For this purpose, the FSO will publish the number of active SwissCovid apps per day from 26 June 2020 in a first step. This number will provide information on the extent to which the SwissCovid app is used by the population in everyday life.

This scraper was needed because the website where the data is currently published does not provide a CSV download option.

The legal status of the data publication is unclear, see BFS Legal Terms and do not assume that this can be used for commercial or other purposes.

See a possible visualization of this data at Datawrapper, and find some more background about the app at forum.opendata.ch.

This is a scraper that runs on Morph: https://morph.io/schoolofdata-ch/swisscovid-stats

To write your own, see the documentation.

The code of this scraper is licensed under CC0 Public Domain Dedication https://creativecommons.org/publicdomain/zero/1.0/

Contributors loleg

Last run failed with status code 255.

Console output of last run

Injecting configuration and compiling... [1G [1G-----> Python app detected [1G ! The latest version of Python 2 is python-2.7.14 (you are using python-2.7.9, which is unsupported). [1G ! We recommend upgrading by specifying the latest version (python-2.7.14). [1G Learn More: https://devcenter.heroku.com/articles/python-runtimes [1G-----> Installing python-2.7.9 [1G ! Requested runtime (python-2.7.9) is not available for this stack (cedar-14). [1G ! Aborting. More info: https://devcenter.heroku.com/articles/python-support

Data

Downloaded 3562 times by schoolofdata-ch loleg

To download data sign in with GitHub

Download table (as CSV) Download SQLite database (42 KB) Use the API

rows 10 / 651

Difference Date Actapps ID
475449
25/6/2020
566894
180048
26/6/2020
746942
59628
27/6/2020
806570
48510
28/6/2020
855080
60885
29/6/2020
915965
12944
30/6/2020
928909
25/06/2020
570000
101
26/06/2020
750000
102
27/06/2020
810000
103
28/06/2020
860000
104

Statistics

Average successful run time: less than a minute

Total run time: about 10 hours

Total cpu time used: 5 minutes

Total disk space used: 75.5 KB

History

  • Auto ran revision 07f7d2a0 and failed .
    nothing changed in the database
  • Auto ran revision 07f7d2a0 and failed .
    nothing changed in the database
  • Auto ran revision 07f7d2a0 and failed .
    nothing changed in the database
  • Auto ran revision 07f7d2a0 and failed .
    nothing changed in the database
  • Auto ran revision 07f7d2a0 and failed .
    nothing changed in the database
  • ...
  • Created on morph.io

Show complete history

Scraper code

Python

swisscovid-stats / scraper.py