Fonsora

How did Calgary’s building permits change year over year?

This code compares the latest monthly permit count with the same month a year earlier. The example contains no permit records. The example uses Python 3.8 or newer and its standard library.

Read the example

Download the Python script. It can run when the catalog lists a matching edition. Otherwise it reports that the dataset is unavailable.

python3 fonsora_calgary_permits.py

The script looks up the CSV in the Fonsora catalog, checks its SHA-256 checksum, and prints the two monthly counts, the percentage change when available, and the source links.

Read the result

Each count measures permit records issued citywide during a calendar month. A single permit can cover more than one dwelling. “Latest” means the last month covered by the release. When the comparison month falls outside the data, its percentage change is unavailable.