This repository powers a website displaying Government of Canada IT projects over $1 million.
It uses Hugo and was built with templates adapted from the OneDly Project Theme.
The code here is licensed under the MIT License.
The data displayed on the website is available in CSV format here. You can also download individual CSV data for the 2016, 2019, and 2022 datasets.
The data originated from three sessional papers, archived here from 2016, 2019, and 2022, available from the Library of Parliament.
The R code used to extract and analyze the 2022 sessional paper data is located in the 2022-large-it-projects repository. This repository also includes the logic determining each “estimated status” value.
You might be interested in:
- Additional sessional papers on government IT topics
- Analyzing Government of Canada-wide contract spending
Contribute your own data visualizations! We’d love to list them on the homepage. You can get in touch by Twitter or by creating a pull request on the content page.
Development of this website requires Hugo, npm, and php.
After cloning the repository, run:
npm install
to install the gh-pages package used for deployments.
For local development, use Hugo's built-in server:
hugo server -D --disableFastRender
To deploy updates to GitHub pages, use:
npm run deploy
The generated data table HTML is produced by a small PHP script. If the CSV file is modified, you can update the data table HTML with:
php _handling/update.php
After updating the data table HTML (or other content), use the deploy command above to update the live website. You can change the destination GitHub project by editing package.json
.
An Ottawa Civic Tech project
This is a volunteer project and is not affiliated with the Government of Canada.