Consumer Price Index, monthly, not seasonally adjusted
Statistics Canada Consumer Price Index (table 18-10-0004-01): all-items index for Canada, the 10 provinces and the three territorial capitals (Whitehorse, Yellowknife, Iqaluit), plus the eight major components for Canada (food, shelter, household operations, clothing and footwear, transportation, health and personal care, recreation/education/reading, alcohol/tobacco/cannabis). Index base 2002=100. Monthly.
Quality
Attribution
Source: Statistics Canada
Schema
| Column | Type | Description |
|---|---|---|
| date | string | Reference period of the observation (the WDS Datapoint 'refPer' field), mapped to the start of the period: first day of the month for monthly series, first day of the quarter for quarterly series. |
| series_id | string | Statistics Canada vector identifier for the series (the WDS 'vectorId', prefixed with 'v', e.g. 'v41690973'). Vectors are the stable public identifiers printed on StatCan tables. |
| series_label | string | Official English series title from the WDS Series Info response ('SeriesTitleEn'), e.g. 'Canada;All-items'. |
| unit | string | Unit of measure for the series, from Statistics Canada's own UOM code set (memberUom): index (2002=100) for CPI, percent for labour force rates, millions of chained (2017) dollars for GDP by industry, persons for population estimates. Values are stored as published (not rescaled). |
| value | float | Observed value for the series and reference period (the WDS Datapoint 'value' field), in the unit given by the 'unit' column. Missing observations are null. |
Sample rows
| date | series_id | series_label | unit | value |
|---|---|---|---|---|
| 1914-01-01 | v41690973 | Canada;All-items | index (2002=100) | 6 |
| 1914-02-01 | v41690973 | Canada;All-items | index (2002=100) | 6 |
| 1914-03-01 | v41690973 | Canada;All-items | index (2002=100) | 6 |
| 1914-04-01 | v41690973 | Canada;All-items | index (2002=100) | 6 |
| 1914-05-01 | v41690973 | Canada;All-items | index (2002=100) | 5.9 |
Download sample data
Download the full sample snapshot for this dataset (sample rows, not the complete dataset).
Use with an LLM
Point any LLM at the metadata endpoint — the documentation above is machine-readable too (JSON-LD + Croissant).
cURL
curl "https://datazimuts.com/v1/datasets/statcan/statcan_consumer_price_index" | jq '{title, rows, columns_count, license}'Python
import requests
ds = requests.get("https://datazimuts.com/v1/datasets/statcan/statcan_consumer_price_index").json()
print(ds["title"], ds["rows"], "rows")
# Sample rows for an LLM context window
for row in ds.get("sample_rows", [])[:5]:
print(row)API endpoint: https://datazimuts.com/v1/datasets/statcan/statcan_consumer_price_index
Tip: fetch /llms.txt for the full machine-readable catalog.