Reproducibility note
This Version 1.0 file is frozen so students obtain the same results. It does not update automatically when official agencies revise or extend a series.
Loading
Featured data resource
CPI, inflation, policy rate, and USD/CAD for learning R
Download a compact, frozen monthly Canadian teaching dataset for learning R and applied statistics. The file contains the Canada all-items Consumer Price Index, year-over-year inflation, the Bank of Canada's target overnight rate, and the monthly average USD/CAD exchange rate from January 2017 through June 2026. The related quick-start guide explains how to open R in Posit Cloud or RStudio Desktop, import the CSV, inspect the variables, calculate descriptive statistics, create charts, estimate a teaching-only regression, export results, and solve common setup errors.
These teaching downloads are available to guests and signed-in students.
Module 0 walks through installing R and RStudio, testing the Console, and importing this exact CSV.
Open Module 0| Variable | Unit | Definition |
|---|---|---|
| date | Month | First calendar day identifying the observation month. |
| cpi_all_items_2002_100 | Index, 2002 = 100 | Canada all-items Consumer Price Index. |
| inflation_yoy_percent | Percent | Twelve-month CPI change: 100 * (CPI_t / CPI_(t-12) - 1). |
| policy_rate_percent | Percent | Last available daily target for the overnight rate in the month. |
| usd_cad_monthly_average | Canadian dollars per US dollar | Arithmetic mean of available daily USD/CAD averages in the month. |
This Version 1.0 file is frozen so students obtain the same results. It does not update automatically when official agencies revise or extend a series.
Educational use only. Correlations and simple regressions describe sample associations and do not establish causality. The data and examples are not investment, trading, legal, accounting, or policy advice.
Curated by Mohammad Safavi, Ph.D. for STATLAB Academy.