Part A: Use the PCCF+ to assign standard geographic codes/names to your postal codes

In this section, you will prepare your postal codes and assign geographic data to them using the PCCF+.

  1. First, you need to download the PCCF+ dataset from the MDL website: https://mdl.library.utoronto.ca/collections/numeric-data/census-canada/postal-code-conversion-file.

    Choose the census year of interest:

    A screenshot of the Map and Data Library website. The title on the page reads: Postal code conversion file. Under the title the page reads: To download PCCF data, select the census year you are interested in, followed by a list of years. There is an arrow pointing to the year 2016.

    Scroll through the list and find the latest update of PCCF+ file. Click on Access data to download the dataset.

    Under a section titled: November 2020 postal codes, there are three sections: PCCF original edition (released Dec 2020); PCCF+ (released Feb 2021); PCFRF (Federal Ridings File) (released Dec 2020). Under the PCCF+ section, an arrow points to a hyperlink titled: Access data (restricted)

    Please carefully read through the end-user license agreement.

    University of Toronto Library End-Use License Agreement for Postal Code(OM) Conversion Files

    At the bottom of the page, click the link to authenticate with your UTORid. The download will then start automatically.

    The end of the End-Use License Agreement. At the bottom there is a line that reads: To access Postal Code Data log in with your UTORid via University of Toronto Web Login. There is an arrow pointing to the part that says log in with your UTORid via University of Toronto Web Login, which is a hyperlink.

    If you wish, move the file from your Downloads folder to some location where you will find it again later.

    The download is a compressed file which must be uncompressed (or “unzipped”). Right-click on the file and choose Extract All. On a Mac you can simply double-click on the file.

    A zip-file titled PCCF7D in file explorer. The file is highlighted, and there is a drop-down menu. The option 7-Zip is selected, followed by Extract to "PCCF7D"

  2. To assign geographic data to your postal codes using the PCCF+, you can use the following comprehensive Statistics Canada PCCF+ guide. It explains in detail how to set up and run the PCCF+ with your own postal codes so we will not repeat the work here. The steps in the guide include:

    1. Creating an input file from your postal codes’ dataset. Be mindful of column names in this step.
    2. Running PCCF+. This step includes using the PCCF+ dataset and code downloaded from the Map & Data library general PCCF webpage and modifying six lines of SAS code.
    3. Checking outputs. In this final step, you want to check the output data file to see if it has been populated and the problem files to flag any problematic postal codes.

We complete the steps in this guide using the postal codes from My_dataset.csv. Our input file is My_postalcodes.csv. And in the last step, we save our output dataset as mypostalcodespccfp.csv

Technique: Quantitative Data AnalysisTools: R, SAS, SPSSData Format: Microdata

Last updated: April 20, 2026

Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International icon