Skip to content

Automated, daily backups of COVID-19 data from Canadian government sources

License

Notifications You must be signed in to change notification settings

svmillin/covid-19-canada-gov-data

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Archive of COVID-19 Data from Canadian Government Sources

This repository provides automated, daily backups of COVID-19 data from various Canadian government sources. Selected non-governmental sources are also included.

File name timestamps are given in ET (America/Toronto) in the following format: %Y%-m-%d_%H-%M. The script is run nightly around 23:00 ET.

All code in this repository is covered by the MIT License. Licenses and terms of use for each archived dataset are given below.

This repository is maintained by Jean-Paul R. Soucy on behalf of the COVID-19 Open Data Working Group.

Table of contents:

Contributing

Community members may contribute to this repository in three ways:

  • Create an issue to request a dataset be added to the archive.
  • Create a pull request for archiver.py adding the ability to automatically archive a requested or not-yet-implemented dataset.
  • Submit archived versions of an existing, requested, or not-yet-implemented dataset. If possible, please use the original file name plus timestamp in the format described above.

Recommended citation

COVID-19 Canada Open Data Working Group. Archive of COVID-19 Data from Canadian Government Sources. https://github.com/jeanpaulrsoucy/covid-19-canada-gov-data. (Access date).

Running archiver.py

archiver.py can run in four modes:

  • python archiver.py serverprod: Download and commit files, running on the Heroku server.
  • python archiver.py localprod: Download and commit files, running on a local machine.
  • python archiver.py servertest: Download but do not commit files, running on the Heroku server.
  • python archiver.py localtest: Download but do not commit files, running on a local machine.

See archiver.py for more details.

Data sources/terms of use/supplementary material

The sources and terms of use for each included dataset are linked below. Supplementary material such as data dictionaries and codebooks are also included in the list below, if available. These files are included with the relevant datasets in a directory named supplementary.

Alberta

Edmonton

British Columbia

Canada

Manitoba

Winnipeg

Nova Scotia

Ontario

Toronto

Ottawa

Quebec

Montreal

Saskatchewan

Other: Non-governmental sources

Canada

Quebec

Acknowledgements

Many people are to thank for contributing archived data and code to this repository.

About

Automated, daily backups of COVID-19 data from Canadian government sources

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 99.8%
  • Python 0.2%