<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Resources on Canadian Voting and Policy Attitudes Project</title><link>https://policyattitudes.ca/resources/</link><description>Recent content in Resources on Canadian Voting and Policy Attitudes Project</description><generator>Hugo</generator><language>en-ca</language><atom:link href="https://policyattitudes.ca/resources/index.xml" rel="self" type="application/rss+xml"/><item><title>Adding Variables from the Original Surveys</title><link>https://policyattitudes.ca/resources/adding-variables/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://policyattitudes.ca/resources/adding-variables/</guid><description>&lt;p&gt;&lt;strong&gt;Download the code:&lt;/strong&gt; &lt;a href="adding-variables.R"&gt;adding-variables.R&lt;/a&gt; contains all of the R code from this tutorial.&lt;/p&gt;&#10;&lt;p&gt;&lt;strong&gt;Using an AI assistant?&lt;/strong&gt; &lt;a href="AGENTS.md"&gt;AGENTS.md&lt;/a&gt; contains instructions for AI coding assistants such as Claude Code and Codex. Save it in your project folder. Codex reads it automatically; for Claude Code, rename it &lt;code&gt;CLAUDE.md&lt;/code&gt;, or ask Claude to read it. It tells the assistant how CVPA&amp;rsquo;s IDs work, and to check with you before making substantive choices, such as how to recode a question.&lt;/p&gt;</description></item><item><title>CVPA R Package: Getting Started</title><link>https://policyattitudes.ca/resources/cvpa-r-package/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://policyattitudes.ca/resources/cvpa-r-package/</guid><description>&lt;p&gt;&lt;strong&gt;Download the code:&lt;/strong&gt; &lt;a href="cvpa-r-package.R"&gt;cvpa-r-package.R&lt;/a&gt; contains all of the R code from this tutorial.&lt;/p&gt;&#10;&lt;p&gt;The &lt;code&gt;cvpa&lt;/code&gt; R package is the easiest way to do data analysis in R using the Canadian Voting and Policy Attitudes (CVPA) dataset. The package downloads the necessary data for you, creates response categories and demographic variables as labelled factors, and computes annually-weighted estimates over time, either for the whole population or broken down by demographic group.&lt;/p&gt;&#10;&lt;p&gt;This tutorial provides a basic overview of how to install and load the package, identify a question and download its data, compute weighted responses by year, compute weighted responses by year, broken down by group, and plot the results.&lt;/p&gt;</description></item><item><title>Demographic Divides: Sample Teaching Assignment</title><link>https://policyattitudes.ca/resources/sample-assignment/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://policyattitudes.ca/resources/sample-assignment/</guid><description>&lt;p&gt;This sample assignment draws on the Canadian Voting and Policy Attitudes (CVPA) project to help students investigate long-term demographic differences in Canadians&amp;rsquo; federal vote intentions. Working in groups, students draw on assigned academic readings to develop theoretical explanations for differences in voting behaviour, then use CVPA figures to evaluate long-term patterns in Canadians&amp;rsquo; vote intentions from 1945 to 2026. The exercise culminates in a written report and an in-class presentation.&lt;/p&gt;</description></item><item><title>Demographic Divides: Where to Start</title><link>https://policyattitudes.ca/resources/where-to-start/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://policyattitudes.ca/resources/where-to-start/</guid><description>&lt;p&gt;The CVPA dataset has more than 600 policy questions, each of which can be broken down by gender, age, education, language, region, religion, union membership, and community size. If you&amp;rsquo;re interested in one of these groups and aren&amp;rsquo;t sure where to begin, the questions below offer some good starting points for exploration.&lt;/p&gt;&#10;&lt;p&gt;These questions work well alongside our &lt;a href="https://policyattitudes.ca/app/"&gt;interactive app&lt;/a&gt;, which lets you explore long-term changes in policy attitudes and voting without writing any code. In the app, you choose a policy domain first and then an issue within it. For each question below we give both, in the form &lt;em&gt;Domain&lt;/em&gt; → &lt;strong&gt;Issue&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Raw Data: Download, Open, and Use</title><link>https://policyattitudes.ca/resources/raw-data/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://policyattitudes.ca/resources/raw-data/</guid><description>&lt;p&gt;&lt;strong&gt;Download the code:&lt;/strong&gt; &lt;a href="raw-data.R"&gt;raw-data.R&lt;/a&gt; contains all of the R code from this tutorial.&lt;/p&gt;&#10;&lt;p&gt;The full Canadian Voting and Policy Attitudes (CVPA) dataset is a single file, &lt;code&gt;dataset.parquet&lt;/code&gt;, stored in our &lt;a href="https://github.com/lucasjacklucas/cvpa_dataset"&gt;GitHub repository&lt;/a&gt;. This tutorial shows how to download that file, open it in R, understand how it is organized, and pull out a single question for analysis.&lt;/p&gt;&#10;&lt;p&gt;If you mainly want weighted estimates over time, the &lt;a href="https://policyattitudes.ca/resources/cvpa-r-package/"&gt;&lt;code&gt;cvpa&lt;/code&gt; R package&lt;/a&gt; does all of this for you. The raw file is for when you want to work with the individual responses directly.&lt;/p&gt;</description></item><item><title>Rebuilding the Dataset from Scratch</title><link>https://policyattitudes.ca/resources/rebuilding-the-dataset/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://policyattitudes.ca/resources/rebuilding-the-dataset/</guid><description>&lt;p&gt;&lt;strong&gt;You almost certainly don&amp;rsquo;t need this.&lt;/strong&gt; The &lt;a href="https://github.com/lucasjacklucas/cvpa_dataset"&gt;published dataset&lt;/a&gt; is exactly what the steps below produce, and the &lt;a href="https://policyattitudes.ca/resources/cvpa-r-package/"&gt;R package&lt;/a&gt; and the &lt;a href="https://policyattitudes.ca/app/"&gt;interactive app&lt;/a&gt; are built on it. If you want a question the dataset doesn&amp;rsquo;t include, see &lt;a href="https://policyattitudes.ca/resources/adding-variables/"&gt;Adding Variables from the Original Surveys&lt;/a&gt;, which doesn&amp;rsquo;t require rebuilding anything.&lt;/p&gt;&#10;&lt;p&gt;This page is for anyone who wants to reproduce the dataset for themselves: to download the original survey files, run our code, and confirm that every value in CVPA comes from those files the way our documentation says it does.&lt;/p&gt;</description></item><item><title>Shifting Opinion: Where to Start</title><link>https://policyattitudes.ca/resources/shifting-opinion/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://policyattitudes.ca/resources/shifting-opinion/</guid><description>&lt;p&gt;Canadian public opinion on some issues has barely moved in fifty years. On others it has shifted dramatically, sometimes steadily over decades and sometimes within a few years. The questions below are good places to look for change. Some changed steadily, some reversed direction, and some moved sharply around a particular event.&lt;/p&gt;&#10;&lt;p&gt;These questions work well alongside our &lt;a href="https://policyattitudes.ca/app/"&gt;interactive app&lt;/a&gt;, which lets you explore long-term changes in policy attitudes and voting without writing any code. In the app, you choose a policy domain first and then an issue within it. The headings below are the app&amp;rsquo;s domains, and each question is listed by its issue name in the app.&lt;/p&gt;</description></item></channel></rss>