<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Data Science for Class Struggle on Medium]]></title>
        <description><![CDATA[Stories by Data Science for Class Struggle on Medium]]></description>
        <link>https://medium.com/@ds4cs?source=rss-641d5da6acaf------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*jbzY2HxAmCzK_EU7hVfxWA.png</url>
            <title>Stories by Data Science for Class Struggle on Medium</title>
            <link>https://medium.com/@ds4cs?source=rss-641d5da6acaf------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 12:13:47 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ds4cs/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Unmasking exploitation with the monetary equivalent of labour time]]></title>
            <link>https://ds4cs.medium.com/unmasking-exploitation-with-the-monetary-equivalent-of-labour-time-66ef1138d152?source=rss-641d5da6acaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/66ef1138d152</guid>
            <category><![CDATA[socialism]]></category>
            <category><![CDATA[sociology]]></category>
            <category><![CDATA[economics]]></category>
            <category><![CDATA[politics]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Data Science for Class Struggle]]></dc:creator>
            <pubDate>Tue, 12 Mar 2024 00:00:26 GMT</pubDate>
            <atom:updated>2024-03-18T00:16:18.385Z</atom:updated>
            <content:encoded><![CDATA[<h3>Unmasking Exploitation with the Monetary Equivalent of Labour Time</h3><figure><img alt="An image of many workers labouring to create money, under the shadow of a giant clock, while the spectre of Karl Marx watches on from a distance." src="https://cdn-images-1.medium.com/max/1024/1*HmEf8l0_wwVF61yezX480w.png" /><figcaption>The hidden bond between money and labour — generated with Microsoft Copilot Image Creator</figcaption></figure><p>If your boss makes a dollar, you make a dime. That’s why you analyze the links between social class and exploitation on company time. Rather than treating objective social class as some function of income, education, and occupation, we’re going to begin with capitalist exploitation in the workplace, then build out from there. Drawing on the labor theory of value, we’ll establish how much value each hour of labour adds to the overall production — the Monetary Equivalent of Labour Time — and use that as a basis for measuring exploitation.</p><p>Using data on employment from the Labour Force Survey, we can compare the average wage to the value of labor time to assess the degree of exploitation experienced by workers. In short, for every dollar in value added to the net product by an hour of labour, the average worker in Canada receives only a fraction of value back, about 45 cents in wages.</p><p>I am hopeful that this approach can be refined over time, using real world data, to provide an alternative view of the class structure and dynamics within capitalist societies, focusing on the central role of labor exploitation in creating class divisions. If you want more information on the assumptions this analysis uses, please see the <a href="https://ds4cs.netlify.app/post/unmasking-exploitation-with-the-monetary-equivalent-of-labour-time/#appendix"><strong>notes in the appendix</strong></a>.</p><h3>Exploitation is the foundation of class inequality</h3><p>To paraphrase Marx’s famous axiom, the two original sources of all wealth are labour and the natural world. Capitalist exploitation centers on extraction of <strong>economic value</strong> created the labour of the working class in the process of producing commodities, <em>i.e.</em> goods and services for sale. Simply put, economic value (<em>a.k.a.</em> exchange-value) is a measure of the worth of a commodity relative to other commodities. Why does a car cost so much more than a roll of paper towel? Of course, it is because a car is a much more valuable commodity. Why is a car more valued, in that case? According to Marxian theories of value, economic value can only be added to commodities by the expenditure of <a href="https://en.wikipedia.org/wiki/Socially_necessary_labour_time">socially necessary labour time</a> (SNLT). Commodities that require more SNLT to produce have an accordingly higher value, so a car is more valued because it takes that much more work by society to make them — not just in the assembly, but also the past work done to mine and refine metals, manufacture parts, and so on.</p><p>Under capitalism, exploitation begins in the workplace, through the employer-employee relationship. In prior societies, the ruling classes relied on people like bailiffs and knights to compel peasants, with force if needed, to do surplus labour in order to pay taxes and tribute. The capitalist has no need to be so direct. Capitalism is the society of generalized commodity production. That means just about everything you need to survive, let alone enjoy life, exists only as a commodity for sale. Lacking any capital of your own (<em>because it is concentrated in very few hands</em>) and the means of being self-sufficient (<em>because it is often outlawed</em>), you have no choice but to sell your <strong>labour-power</strong> (the capacity to work) for a wage to buy the means of living.</p><p>Since the capitalist owns the capital, they have great, often unilateral, power to set the legal terms of employment, to discipline workers into producing a surplus for the owning class. The essence of capitalist exploitation is thus — the boss pays for your labour-power with wages, but because they own the capital, receives the added value created by your labour, embodied (not physically, but in the <a href="https://en.wikipedia.org/wiki/Prices_of_production">price of production</a>) in the goods or services you worked to produce. How would a person know if they are exploited at work? How can we measure this exploitation?</p><p>Here is a simple example. Assume a worker works an eight hour shift for a wage of $15 an hour. They produce goods with a sale price of $40 and fixed costs like raw materials and utilities of $30 per unit, yielding a surplus of $10 per sale. Producing 5 units in an hour, that worker has done enough <strong>necessary labour</strong> to cover their own wages ($120) in under three hours. Of course, they don’t get to call it a day at that point, according to the terms of their contract, they must work the rest of the shift doing <strong>surplus labour</strong>. In eight hours, they produce 40 units that can be sold for $1600, which after deducting fixed costs like raw materials and utilities ($1200) and the daily wage ($120), yields of surplus of $280, which works out to $35 per hour.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2FEfmHn%2F3%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2FEfmHn%2F3%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2FEfmHn%2Fplain-s.png%3Fv%3D3&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=dwcdn" width="786" height="452" frameborder="0" scrolling="no"><a href="https://medium.com/media/05ef522ae6f377712c4871487500dde2/href">https://medium.com/media/05ef522ae6f377712c4871487500dde2/href</a></iframe><p>Where does this miraculous surplus of money come from? The source is the value added to commodities by the expenditure of labour-power. This difference between wages (the value of labour-power) and the value of the final products is referred to <strong>surplus value</strong>, out of which profit is taken, shareholder dividends are paid, taxes are extracted, and wages of people like supervisory workers are covered.</p><h3>The connection between money and labour time</h3><p>One of the <a href="http://beneweb.com.br/resources/Teoria_do_valor/Labor%20theory%20of%20value%20Foley.pdf">most important innovations</a> in the study of capitalism in recent decades has been the revival and refinement of a concept used by Marx to describe the relationship between money and human labour time. This tool is now aptly known as the <strong>Monetary Equivalent of Labour Time</strong> or MELT for short. The MELT is calculated by simply dividing the total number of hours worked in an economy by the total net product of labour in money form. It is therefore a ratio that expresses the monetary value added by each hour of living labour performed in a capitalist economy.</p><blockquote><em>Our intervention centered on the monetary expression of labor time. We argued that the important issue for Marx was … that money represents social labor time, and that one can therefore use a measure of the monetary expression of labor time … to translate flows of money in real-world capitalist accounts into flows of labor-time and vice versa. This way of looking at the labor theory of value dispenses with the need for a separate accounting system based on embodied labor coefficients.</em></blockquote><blockquote><a href="https://copejournal.com/wp-content/uploads/2017/02/Ramos-The-Monetary-Expression-of-Labour-Marxs-Twofold-Measure-of-Value.pdf"><em>Alejandro Ramos-Martinez</em></a></blockquote><p>Value can be expressed in both hours of social labour and sums of money (<em>a.k.a.</em> prices), since value is both of those things at once. Human labour time is the substance of value, meaning units of SNLT are the basic building blocks of value that determine it’s magnitude.</p><p>Money is the form of appearance that value takes in reality — it is objectified social labour time. When we go shopping, we can’t see all of the labour done, past and present, to make the commodity, we only see the price expressed in money. But commodities with higher values, in general, tend to have higher prices, and vice versa, so the price we pay is innately tied to value. Yet value can only be realized, made material in the real world, if converted into money via sales. If goods go unsold, value can go unrealized and even be wasted. So there is a hidden inner relationship, happening out of sight, between social labour time and money as interrelated (and sometimes contradictory) aspects of value.</p><p>Using the MELT it is possible to <a href="https://socialsci.libretexts.org/Bookshelves/Economics/Principles_of_Political_Economy_-_A_Pluralistic_Approach_to_Economic_Theory_%28Saros%29/01%3A_An_Introduction_to_Economic_Theory/04%3A_The_Marxian_Theory_of_Class_Exploitation">convert amounts of economic value into either labour time or money,</a> and to transition between either of those forms smoothly, as Marx does time and time again in his writings. In the one-worker example above, the net product, the money left over after fixed costs, but not wages, are deducted, works out to $400 in eight hours of work. That implies a MELT of $50, which is the amount of money value added by each hour of work. Conversely, each dollar represents about one minute and twelve seconds of socially necessary labour time, a measure sometimes called the <em>value of money</em>, the inverse of the MELT.</p><h3>The value of an hour’s work in capitalist Canada</h3><p>Recall that surplus value, the raw material of profit, is what remains after the worker’s share is deducted from the total product. In order to measure exploitation therefore, the <strong>value of labour-power</strong> (VLP) needs to be established. In the traditional school of thought, the VLP is defined by the value of the consumption goods that workers buy to live. There are many complications in making such calculations using real world data. Other scholars of capitalism have, more recently, defined the value of labour-power as the <a href="http://digamo.free.fr/dongmin9.pdf">ratio of the money wage to the MELT</a>. Using the MELT therefore, we can measure how much value workers receive in wages relative to the monetary value they create with each hour of their labour in terms of either money or labour hours.</p><p>To compute the MELT for Canada, we can divide <strong>net national income</strong> by the total number of <strong>hours worked at all jobs</strong>, sourcing data from the country’s national and industrial accounts respectively. In 2022, Canada’s net national income was about $2.3 trillion, while Canadian workers put in about 33.6 billion hours in at their workplaces. That works out to a monetary equivalent of labour time of <strong>$69 per hour worked</strong>. In other words, each hour of socially necessary labour done in Canada adds $69 worth of economic value to goods and services.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fqd3H1%2F1%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fqd3H1%2F1%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fqd3H1%2Fplain-s.png%3Fv%3D1&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=dwcdn" width="544" height="336" frameborder="0" scrolling="no"><a href="https://medium.com/media/1d987738e42d2b4abd10e5dae10204c5/href">https://medium.com/media/1d987738e42d2b4abd10e5dae10204c5/href</a></iframe><p>Given an average hourly wage of $36.20 in 2022, the value of labour power for an average hour of work was little over half (52%) of the monetary value created. In my reading of the literature, the MELT and MELT-derived VLP have been used extensively for macroeconomic analysis. I believe that there is potential to use these tools on other data sources to build objective indicators of exploitation in the study of the class structure of capitalism. Other than a few <a href="https://medium.com/@re.Marx/you-create-78-of-value-with-each-hour-of-labor-130f8100304d">introductory blog posts by this author</a>, I don’t think this kind of analysis has really been attempted yet, so from here on the work is going to be largely exploratory and a bit experimental.</p><h3>Very few employees paid more than the value of labour time</h3><p>So, where do we begin this exploration? It makes sense to me to start in the workplace, the hearth of capitalist exploitation, and build out the analysis from there. One possible point of departure is to ask who receives wages worth less than the monetary value produced by an average hour of labour? Those that are exploited will by definition get back less value in wages than the monetary value created by an hour of labour time — <strong>their VLP will be less than 100%</strong> and probably much less.</p><p>Conversely, we could ask who gets paid more than the money value of labour time? If such people exist, they would not be exploited, but an exploiter group, in the sense that their employment income would represent more value than the value of average labour time. For such individuals, the <strong>VLP will be 100% or higher</strong>. This would leave us with a binary measure of exploitation based on the value of labour power, defined as their hourly wage against the MELT, where those below 100% are exploited and those above are not exploited (at least in value terms).</p><p>Using data on employment and wages from the Labour Force Survey (LFS), we can see that the vast majority of workers (97%) have employment earnings worth less than the monetary value produced by their labour. Only about 3% of people in the labour force — a half-million individuals, give or take — are “over-valued” employees, meaning they are earning the full money value of an average hour’s work or more through paid employment. Note that because the LFS does not contain income data for the self-employed, all figures from here on refer to paid employees only, an important limitation of this data, as we shall see.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2FC8V8t%2F3%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2FC8V8t%2F3%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2FC8V8t%2Fplain-s.png%3Fv%3D3&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=dwcdn" width="690" height="390" frameborder="0" scrolling="no"><a href="https://medium.com/media/bc2d7b9c9aa614af9f5575d6b2acea08/href">https://medium.com/media/bc2d7b9c9aa614af9f5575d6b2acea08/href</a></iframe><p>So nearly everyone is paid much less than the value created by an hour of labour. Of course, this is entirely expected, if it were not so, then either capitalism has broken down or ceased being capitalism altogether. Clearly, this binary measure of exploitation is going to be of limited use. We are going to need more detailed information to form a clear view of the structure of class in Canada. But let’s stick with the binary measure for a little while longer to see if it offers any further insights.</p><h3>Who are the “over-valued” workers? Managers and professionals.</h3><p>Just who are the lucky 3% that somehow manage to get paid more than the average value of labour? Again, we can use data from the LFS to dig a little deeper. The answer, in short, is professionals and managers, especially in senior and specialized management occupations. Managers were about 7% of the workforce in 2022, but nearly half (45%) of employees that were paid more than the monetary value of labour time. They are joined by a very small minority of professional employees in fields like business, science, and education. Notably, even among managers and professionals, a majority of employees still had hourly pay below the monetary value of labour time.</p><p>Specialized middle managers (147K employees) and professionals in the natural and applied sciences (108K employees) are the most numerous among the “over-valued” employees, accounting for just under half of them (49%). The remaining half is filled out with other middle (67K) and senior (20K) managers and smaller groupings of professionals in the fields of business (54K), education (38K), and legal or social/government services (37.8K), then much smaller clusters spread across the remaining occupations.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2FB4Hp4%2F4%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2FB4Hp4%2F4%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2FB4Hp4%2Fplain-s.png%3Fv%3D4&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=dwcdn" width="644" height="796" frameborder="0" scrolling="no"><a href="https://medium.com/media/17dc1672c28f45dfa140c8028b191f5d/href">https://medium.com/media/17dc1672c28f45dfa140c8028b191f5d/href</a></iframe><p>A noticeable absence stands out in this data — where are all of the highly paid professionals? While professionals were among the most likely to have a VLP of 100% or greater, the LFS data shows that it is only a very small minority that do so. One explanation is simply that information is obscured the level of aggregation of the LFS occupational data. For example, lawyers and judges are grouped into the broad category of “occupations in law and social, community, and government services.” In this broad occupational grouping, legal professionals form a very small minority, about 108K people out of a workforce of 2.2M in 2022, about 4.8% of the total. No doubt, if we could separate out legal professionals from the big group, we would see a very high share of people being paid more than the monetary value of labour time.</p><p>Another important reason for the low rates observed among professionals is that the LFS does not capture the income of self-employed people. Many highly paid professionals in fields like law or medicine earn most, if not all, of their income through self-employment, rather than as paid employees. Take doctors, for example, who have one of the highest rates of self-employment of any occupation in Canada. Under Canada’s health care system, the majority of doctors work for themselves, even if they labour in public health care settings like hospitals.</p><p>Doctors make most of their income (about three quarters) by billing the public health system for services rendered, not as salaried employees. In 2021–22, the average doctor <a href="https://www.cihi.ca/en/a-profile-of-physicians-in-canada">billed $325,000 to the public</a>. If the average overhead (e.g., paying staff, medical supplies) for operating a practice is about 25% that works out to an annual net income of $243,7500 for an average physician. In tax terms, this is referred to as ‘net professional income’ which is an important source of income for many of the top income earners in the country.</p><p>While few physicians appear to be paid over the MELT in their capacity as paid employees, many supplement their self-employment income with high paying teaching or research work in academic settings. To get a full picture, we’ll have to find another source of data that has information on the incomes of self-employed people.</p><h3>Exploitation as a gradient, rather than a binary</h3><p>Using a binary measure of exploitation shows a tremendous gap in wages between those on either side of the MELT. Compared to the vast majority of workers in their respective industries, average hourly earnings for the supervisory and professional employees with wages over the MELT are 200% to 300% higher. Here we are talking about the top tier of income “earners” below the corporate executive level.</p><p>But what else can we say based on this? Looks like we are missing a lot of information in that wage chasm. I don’t think at this point, we can say 97% of people are objectively working class, because they get back less than the value of their labour at work, and call it a day. Instead of an all or nothing measure, it is probably more fruitful to consider a <strong>gradient of exploitation</strong>, based on the value of labour power as a share of the money value produced by socially necessary labour time.</p><p>Below is such a view of exploitation as a spectrum, rather than a binary, based on deciles of hourly employment earnings earnings. When considering an objective marker of class position based on exploitation, it’s not so much whether a person receives <strong>more or less</strong> in wages than the monetary value created by their labour, because nearly everyone gets less, but <strong>how much</strong> of that value they are able to retain as income.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fz989C%2F2%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fz989C%2F2%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fz989C%2Fplain-s.png%3Fv%3D2&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=dwcdn" width="656" height="523" frameborder="0" scrolling="no"><a href="https://medium.com/media/481b6abc2c57b1656eb637a140d35a9e/href">https://medium.com/media/481b6abc2c57b1656eb637a140d35a9e/href</a></iframe><p>Broken down this way, we can see that 90% of employed workers are paid hourly wages worth <strong>at most</strong> two-thirds (66%) of the money value of labour time. Workers in the bottom 50% of the earnings distribution took home even less, no more than 40% of the money value added by their labour. Even those in the top 10% of income earners took home on average, close to (92%), but still less than the full money value of an hour’s work.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fz989C%2F2%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fz989C%2F2%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fz989C%2Fplain-s.png%3Fv%3D2&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=dwcdn" width="656" height="523" frameborder="0" scrolling="no"><a href="https://medium.com/media/481b6abc2c57b1656eb637a140d35a9e/href">https://medium.com/media/481b6abc2c57b1656eb637a140d35a9e/href</a></iframe><p>Here is another view using the continuous measure of exploitation, broken down by some demographic variables. All factors that we already know relate to income inequality, like age, gender, race, or education, will similarly impact the value of labour power.</p><p>The average worker overall received wages worth about 45% of the MELT. Employees with a high school education, part-time and temporary employees, and those in non-managerial and non-professional jobs, had wages valued 30% to 40% of the MELT. At the other end of the scale, those with university educations and professional occupations were paid about 55 to 60% of the MELT, while only senior managers came close to the full value at 91% of the MELT.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2FECpEb%2F2%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2FECpEb%2F2%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2FECpEb%2Fplain-s.png%3Fv%3D2&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=dwcdn" width="600" height="647" frameborder="0" scrolling="no"><a href="https://medium.com/media/120e0a7509dc97344a5475b495e130da/href">https://medium.com/media/120e0a7509dc97344a5475b495e130da/href</a></iframe><p>At this point, we have to stop, lest we conclude that the ruling class is actually comprised of managers and professionals, as some have erroneously done — at some point, I might address the “PMC” thesis, but not today. Clearly, we will need more information. We haven’t yet addressed the flip side of this exploitation based analysis, namely the ownership side. If the value of the labour power of the average worker is 45%, where is the rest of that value going? For the most part, it is going to those who own the capital.</p><p>Income from ownership of capital will have to be accounted for, meaning we will need to look beyond the bounds of paid employment to examine the class dimensions of exploitation. Using the LFS, we can only consider income from paid employment. Yet in reality, there are many potential sources of income, like government transfers, self-employment, dividends, capital gains, and rents.</p><p>Next up, we will integrate another data source, the Canadian Income Survey, that contains more detailed information on incomes in Canada. Doing so, we can also broaden the horizons of the concept of exploitation a bit, to show how it can also take place outside of the workplace, as surplus value changes hands in the realm of market exchange.</p><p><em>Originally published at </em><a href="https://ds4cs.netlify.app/post/unmasking-exploitation-with-the-monetary-equivalent-of-labour-time/"><em>https://ds4cs.netlify.app</em></a><em> on March 12, 2024.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=66ef1138d152" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Sorry State of Class Consciousness in Capitalist Canada]]></title>
            <link>https://ds4cs.medium.com/the-sorry-state-of-class-consciousness-in-capitalist-canada-1adc252b2811?source=rss-641d5da6acaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/1adc252b2811</guid>
            <category><![CDATA[politics]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[socialism]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[sociology]]></category>
            <dc:creator><![CDATA[Data Science for Class Struggle]]></dc:creator>
            <pubDate>Wed, 14 Feb 2024 00:00:15 GMT</pubDate>
            <atom:updated>2024-02-28T04:29:07.996Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jLkV1F30ZJGKs4ivadqPVw.png" /><figcaption>Viewing the world through a distorted lens — created with Microsoft Copilot Image Creator</figcaption></figure><p>Canada is a strong contender for the least class aware society on the planet. It’s stiff competition, but I think we have a good shot at the title. So what is the state of class consciousness in Canada? To find out, we’ll explore some survey data to get a baseline of how most people think about class in Canada. Today we are focused not on the objective, but the subjective side of social class. The subjective aspect of class encompasses <strong>how people think about, understand and experience</strong> the class structure of society and their place in it. Sometimes this subjective aspect accords well to social reality — but as we shall see, more often it does not, a situation that has been described as <a href="https://www.marxists.org/archive/marx/works/1893/letters/93_07_14.htm">false consciousness</a>.</p><p>There is a lot to dig into on the subjective side of class. For the time being, let’s start with self-rated social class, often just called <strong>subjective class</strong> in the social sciences, meaning people’s judgement of their <em>own position</em> in the class structure of society.</p><h3>Measuring subjective social class with survey data</h3><p>Despite the lack of importance Canadian society places on class, many of the nation’s major opinion polling firms have conducted survey research on the topic in recent years — often framed by a sense of collective panic over perceived middle class decline. Pollsters have taken to directly asking people if they see themselves as middle class. Consistently, <a href="https://www.pollara.com/middle-class-optimism-crashes-in-canada/">seven</a> or <a href="https://www.nanos.co/wp-content/uploads/2019/12/2019-1530-Globe-Nov-Populated-Report-with-Tabs.pdf">eight</a> out of ten people say they believe they belong to the middle class. Of course, this pointed form of question practically primes people to place themselves in the middle class.</p><p>Actually, nearly all mainstream discourse on class encourages people to think of themselves as middle class. The short version of prevailing class thinking in Canada is that a majority of people <a href="https://www.edcan.ca/articles/class-matters/">believe they are middle class</a>, that everyone around them is middle class, that we all live in a <a href="https://macleans.ca/economy/why-everyone-feels-like-theyre-in-the-middle-class/">middle class society</a> where so-called <a href="https://macleans.ca/economy/why-everyone-feels-like-theyre-in-the-middle-class/">middle class values</a> reign. <a href="https://www.tvo.org/article/is-200000-a-year-middle-class-the-ndp-seems-to-think-so">Class politics</a> has been restricted almost entirely to <a href="https://ici.radio-canada.ca/rci/en/news/2004894/can-the-trudeau-government-revive-its-old-middle-class-message">empty appeals</a> to the middle class, while much class analysis is reduced to <a href="https://thewalrus.ca/livingrooms-how-to-save-the-middle-class/">fretting over the maladies of the middle class</a>.</p><p>In conventional models of class, we commonly see variations of the <strong>low-middle-upper</strong> scheme that basically deny the existence of the working class. In the 2016 cycle of the General Social Survey, where such a scheme is used, respondents nearly unanimously (95%) declared themselves to be middle class. Even among the lowest income earners in the country, nearly 90% of people thought they were in the middle class. Given the obvious negative connotation of <em>low class</em>, and the fact that almost nobody considers themselves to be <em>upper class</em>, people are naturally encouraged to see themselves as middle class.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2FHnoB3%2F2%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2FHnoB3%2F2%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2FHnoB3%2Fplain-s.png%3Fv%3D2&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=dwcdn" width="600" height="343" frameborder="0" scrolling="no"><a href="https://medium.com/media/baaa7ef893e74d5eec56fd5b6dbb95b3/href">https://medium.com/media/baaa7ef893e74d5eec56fd5b6dbb95b3/href</a></iframe><h4>Recognizing the working class makes a difference</h4><p><a href="https://www.tandfonline.com/doi/epdf/10.1080/2474736X.2021.1978820?needAccess=true">Survey researchers</a> have <a href="https://www.jstor.org/stable/2087554?origin=crossref&amp;seq=5">long known</a> that people can be prompted to judge their own class position — and perhaps the nature of class in our society — in different ways based on how the question is posed. When people are asked to rate their class position in an <strong>open-ended</strong> way, meaning they are free to answer in their own words, they tend to fall back onto dominant ideas about class by default. When asked in this manner, nearly everyone says they are in the middle class, while very few see themselves as with the working class on their own initiative — commonly, people either <a href="https://www.jstor.org/stable/3341050">won’t know their class position</a> without prompting or outright deny the existence of social class.</p><blockquote><strong>Open ended:</strong> What do you think are the social classes that divide society? Which one do you think you belong to?</blockquote><p>When people are asked about their own class position with a <strong>closed</strong> type of question, the response pattern changes substantially. In a closed question, rather than asking participants to answer freely, they are asked to place themselves on a pre-made class scale or hierarchy. Depending on how they are built, these class scales can prompt people to think about the class structure of society — not something most people do often or ever — in particular ways. When asked a closed question about their subjective social class, a smaller majority of people still think they are middle class. However, when the class scale includes the <strong>working class</strong> as a response option, a significant minority of people will consider themselves to be working class, rather than middle class.</p><blockquote><strong>Closed:</strong> People often say society is divided up into the following social classes: lower class, working class, middle class, and upper class. Which one do you think you belong to?</blockquote><p>The chart below shows the results of a series of experimental surveys comparing the differences in response patterns between closed and open-ended questions about subjective social class. Participants were <strong>nearly 2.5 times more likely</strong> to say they were part of the working class when they were prompted with a class scale that allowed them to choose between working and middle class. Just acknowledging the existence of the working class — not something that happens very often — and suggesting that one could be a part of it, prompts people to think differently about their class position.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2F28ymf%2F2%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2F28ymf%2F2%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2F28ymf%2Fplain-s.png%3Fv%3D2&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=dwcdn" width="674" height="323" frameborder="0" scrolling="no"><a href="https://medium.com/media/6dee15a8df00e10898b4041e5478c906/href">https://medium.com/media/6dee15a8df00e10898b4041e5478c906/href</a></iframe><p>In the following chart, we can see the collected results of surveys on social class conducted in more recent years, which also gave respondents an option of saying they are working class. As expected, a majority of respondents to each survey rated themselves as middle class. Yet if given the option, a sizable minority of people in Canada will rate themselves as working class — whatever that means to them. Several polls have found that a third (33%) or more of respondents thought that they were in the working class, while others found a much lower rate of working class self-ID, at under one-fifth (20%) of the population.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2F64Jx2%2F2%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2F64Jx2%2F2%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2F64Jx2%2Fplain-s.png%3Fv%3D2&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=dwcdn" width="600" height="377" frameborder="0" scrolling="no"><a href="https://medium.com/media/4c3d7a75dc1ad44e4d4c8358e61e4861/href">https://medium.com/media/4c3d7a75dc1ad44e4d4c8358e61e4861/href</a></iframe><p>Most likely, the cause of this discrepancy in subjective class is the scale offered by the latter surveys, which split the middle class up into multiple parts. Putting a “lower” bound on the middle class makes the distinction between the working and middle class even more porous. In such cases, many who might otherwise view themselves as working class are invited to consider themselves lower middle class instead. In effect, working class and middle class subjective class positions have a negative relationship, meaning when one goes up, the other goes down — at least when considering a closed class scale where respondents can only give a single answer.</p><p>We can view the negative relationship between the two class positions unfolding over time in the results of the World Values Survey, which shows a marked decline in working class identification over time, from a little under one-third (30.8%) in 2000 down to less than one-fifth of the population (19%) by 2020. As we can see in the chart, the share of people that consider themselves lower-middle class has grown considerably and mainly at the expense of the working class share. This the powerful role middle class thought plays in service of the status quo, crowding out working class consciousness like weeds in an ideological garden.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fk1pqq%2F7%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fk1pqq%2F7%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2Fk1pqq%2Fplain-s.png%3Fv%3D7&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=dwcdn" width="600" height="403" frameborder="0" scrolling="no"><a href="https://medium.com/media/51f3351113490aa836af47b877a2f0dc/href">https://medium.com/media/51f3351113490aa836af47b877a2f0dc/href</a></iframe><h4>Income, education, occupation, and subjective class</h4><p>Conventionally, class is treated as some function of income, education, and occupation. These things don’t constitute social class, but do clearly influence how people think about class and their own class position. We can use microdata from the World Values Survey to explore how these variables impact subjective social class.</p><p>Virtually nobody willingly identifies as “upper” class. In the latest WVS wave, only about 1% of the population did so, about one-tenth of people at the top of the income distribution. Nearly all of Canada’s top income earners however, which probably includes <a href="https://www.cnbc.com/2023/11/10/survey-31percent-of-millionaires-say-they-are-part-of-the-middle-class.html">some small-time millionaires</a> as it does the the South, say they are part of the middle class, specifically the “upper” middle class. There is a well known tendency studied by psychologists and sociologists for wealthy people to <a href="https://journals.sagepub.com/doi/full/10.1177/0038038520982225">underestimate</a> and <a href="https://research.chicagobooth.edu/-/media/research/cdr/docs/phillipslowery_aintnofortunateone">downplay</a> their relative class position and advantages. This is another ideological function of conventional class thinking — blurring class distinctions at the top, not just the bottom, of the class hierarchy. Really, the aim is to erase the dividing lines of class entirely.</p><p>If there is one group of people in the country that overwhelmingly <strong>do not</strong> see themselves as middle class, it is low-wage workers and those with low incomes in general. In the bottom 30% of the income distribution, only three in ten people see themselves as middle class and are equally likely to view themselves as either working or lower class. Since there is no accepted definition of the lower class, it isn’t clear, from this data at least, why so many of those people would view themselves as being separate from the working class.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2F36Bwm%2F5%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2F36Bwm%2F5%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2F36Bwm%2Fplain-s.png%3Fv%3D5&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=dwcdn" width="718" height="433" frameborder="0" scrolling="no"><a href="https://medium.com/media/26169929a025fd34d02fefe747ca2760/href">https://medium.com/media/26169929a025fd34d02fefe747ca2760/href</a></iframe><p>The relationship between people’s self-rated class position and education level was weaker than with income. Respondents were less likely to rate themselves as working class as education rose, but a majority of people across all levels of education still believed that they were in the middle class.</p><p>Workers in service, “semi-skilled” and “unskilled” occupations were much more likely than most to say that they were part of the working class. Yet a majority of Canadian workers across all occupations saw themselves as part of the middle class, with the exception of unskilled workers, who are roughly split down the middle. Unsurprisingly, those in higher management, professional, and technical occupations were especially unlikely to view themselves as working class.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2FvDuDs%2F6%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2FvDuDs%2F6%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2FvDuDs%2Fplain-s.png%3Fv%3D6&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=dwcdn" width="776" height="495" frameborder="0" scrolling="no"><a href="https://medium.com/media/bb405e540fc9e4cca0af14330c992925/href">https://medium.com/media/bb405e540fc9e4cca0af14330c992925/href</a></iframe><p>There are a few interesting findings related to employment status as well. A majority of people self-rated in the middle class regardless of employment status with the exception of the unemployed. The closer one gets to being a full-time employee, the lower the likelihood of self-rating as working class. Part-time workers and students rated themselves as working class a bit more than average. Both the unemployed, as well as “homemakers” that provide unpaid domestic labour, displayed a much stronger affinity to the working class than most employed workers — make of it what you will.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2FZ5F8n%2F2%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2FZ5F8n%2F2%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2FZ5F8n%2Fplain-s.png%3Fv%3D2&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=dwcdn" width="600" height="446" frameborder="0" scrolling="no"><a href="https://medium.com/media/6485c3a0f7abffe6802a9eb38db9ac53/href">https://medium.com/media/6485c3a0f7abffe6802a9eb38db9ac53/href</a></iframe><h3>Viewing the world through a distorted lens</h3><p>While we are only discussing survey responses here, these findings strongly suggest that people’s thinking about class in general can be quite malleable ( <a href="https://www-2.rotman.utoronto.ca/facbios/file/ROBSocialClass.pdf">p. 63</a>) and often contradictory. Consider the results of this <a href="https://www.pollara.com/wp-content/uploads/2023/12/Middle-Class-Identity-Release-Dec-2023-1.pdf">Pollara survey</a> which found that a majority of respondents (people could agree or disagree with multiple statements) said that <strong>both</strong> middle class (78%) <strong>and</strong> working class (63%) accurately described their “social and financial position of society.” It is as though most working class people, in terms of their subjective social class, have one foot in reality, and another in the mythical and ethereal realm of the middle class. They can be prompted by any number of factors, probably far beyond the context of survey research, to reconsider their class position in either way.</p><p>As we conventionally understand it, the “middle class” is an <a href="https://murraysmithorg.files.wordpress.com/2017/08/rethinking.pdf">ideological construction of capitalist society</a> — <strong>a lens that distorts the view of social reality</strong> — so it is by <a href="https://www.cbc.ca/radio/checkup/it-basically-means-nothing-why-some-economists-are-skeptical-of-the-term-middle-class-1.5258989">design a vague and diffuse concept</a>, offering a little bit of something and seat at the table to just about everyone. While most people agree that being middle class is “mostly” a function of income ( <a href="https://www.ekospolitics.com/wp-content/uploads/understanding_the_middle_class_final_report.pdf">p. 13</a>), they also place strong importance on things that make them <em>feel</em> middle class like having a comfortable lifestyle, feeling financially secure, or believing that one will be rewarded for hard work ( <a href="https://www.ekospolitics.com/wp-content/uploads/understanding_the_middle_class_final_report.pdf">p. 14</a>). Many of the signposts guiding people to the middle class on a “gut level” ( <a href="https://www.pollara.com/wp-content/uploads/2020/12/Pollara-MiddleClass_W6-RptF1.pdf">p. 10</a>) are vague, non-specific, highly subjective, often contradictory individual feelings and notions.</p><p>Supposedly objective measures of social class fare no better. Across one dozen commonly used income-based definitions of middle class over <a href="https://www.brookings.edu/articles/a-dozen-ways-to-be-middle-class/">90% of households in the US</a> could be classified as such on at least one. The same could of course be said of Canada. When participants in a <a href="https://cffp.recherche.usherbrooke.ca/wp-content/uploads/2020/02/chapitre_lg_never-too-rich-to-middle-class.pdf">Quebec study on social class (p. 128)</a> were asked what they thought the minimum level of income that grants entry into the middle class was, the resounding answer was essentially “incomes that are close to my income,” regardless of how much their income actually was. In terms of income, people often take middle class to be average and in turn, based on based on the people they know and encounter on a daily basis, also judge themselves to be average and therefore in the middle class — just like everyone else.</p><p>So whether measured in objective or subjective terms, nobody really seems to agree on what middle class means, let alone what the criteria for entry and exit are. This is not evidence of a broken concept, this is ideology working as intended.</p><h4>Canada’s class (un)consciousness in international context</h4><p>Of all the countries included in the 7th cycle of the World Values Survey, from 2017 to 2020, there was nowhere that more of the population rated their own class position as middle class than in Canada. Compared to Canada, only in two countries in the world did a smaller portion of respondents say they were working class. In reality, the <a href="https://jacobin.com/2020/09/working-class-peoples-guide-capitalism-marxist-economics">majority of people in Canada, indeed the world</a>, are working class or undergoing <a href="https://en.wikipedia.org/wiki/Proletarianization">proletarianization</a> (in the process of becoming working class).</p><p>The middle class does exist, but it is a small minority of people that includes those that live on both labour and capital income (small time capitalists, some self-employed), and also some, but not all people like, managers, professionals, intellectuals, and very highly paid workers. That is <strong>not</strong> most people who believe they are middle class. The inevitable conclusion, which probably comes as a shock to no one, is that Canada is one of the least class conscious societies in the world.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2FkaTs7%2F2%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2FkaTs7%2F2%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2FkaTs7%2Fplain-s.png%3Fv%3D2&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=dwcdn" width="600" height="942" frameborder="0" scrolling="no"><a href="https://medium.com/media/416873b0b655ad3f3a26e0caf37b0832/href">https://medium.com/media/416873b0b655ad3f3a26e0caf37b0832/href</a></iframe><h4>Why is class consciousness in Canada so far gone?</h4><p>One could write a dozen dissertations and only scratch the surface. But there is time to briefly touch on a few points. First up, is that the ideological construct of the middle class has a deep connection to the dominant ideology of liberalism that pervades daily life under capitalism. So the omnipresence of middle class thinking reflects the strength of capitalist ideological domination over Canadian society — which is to say very strong.</p><p>Beyond that, <a href="https://onlinelibrary.wiley.com/doi/full/10.1111/cars.12444">sociologists</a> and <a href="https://www.lltjournal.ca/index.php/llt/article/download/5955/6847?inline=1">historians</a> have connected the low and contradictory state of working class consciousness to Canada’s historical development — and current structure — as a settler-capitalist state based on <a href="https://www.cambridge.org/core/journals/canadian-journal-of-political-science-revue-canadienne-de-science-politique/article/politics-of-white-identity-and-settlers-indigenous-resentment-in-canada/9AF31274E53E2405A1589DB4293EF568">white supremacy</a>. Further, in the 20th century in Canada, there was actually a <a href="https://networks.h-net.org/node/3449/reviews/27345/cameron-iacovetta-gatekeepers">deliberate campaign to promote “middle class values,”</a> especially among new immigrants, as some sort of Cold War inoculation against communism.</p><p>As for changes since the start of the 21st century, there is a likely connection to home ownership in the bubble era. Typically, a home is the only asset of value any working class person will ever own. Increasingly, homeowners are pushed to treat homes as financial assets, tapping their home equity for <a href="https://betterdwelling.com/canadian-home-equity-loans-surged-after-regulator-warnings/">billions of dollars in credit and loans</a>. This has, possibly, produced a type of pseudo-<a href="https://yorkspace.library.yorku.ca/server/api/core/bitstreams/b17bb6b4-b013-4c3e-bba7-95a3833b091c/content">entrepreneurial</a> orientation among many homeowners to the asset value of their own homes which dovetails easily into the dominant middle class ideology.</p><p><em>Originally published at </em><a href="https://ds4cs.netlify.app/post/the-state-of-class-consciousness-in-capitalist-canada/"><em>https://ds4cs.netlify.app</em></a><em> on February 27, 2024.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1adc252b2811" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[(Social) Class is in Session: Clear thinking about class and capitalism]]></title>
            <link>https://ds4cs.medium.com/social-class-is-in-session-clear-thinking-about-class-and-capitalism-abafc511e953?source=rss-641d5da6acaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/abafc511e953</guid>
            <category><![CDATA[politics]]></category>
            <category><![CDATA[capitalism]]></category>
            <category><![CDATA[socialism]]></category>
            <category><![CDATA[class]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Data Science for Class Struggle]]></dc:creator>
            <pubDate>Tue, 13 Feb 2024 00:00:20 GMT</pubDate>
            <atom:updated>2024-02-16T03:51:42.636Z</atom:updated>
            <content:encoded><![CDATA[<p>Part I: The Marxist antidote to conventionally confused class thinking</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gObJc8-pQ_093pPgdAl8mw.png" /><figcaption>Painting of classroom in the style of socialist realism — generated with Microsoft Copilot Image Creator.</figcaption></figure><p>The heyday of discussing social class in academic, popular, and political discourse alike is well behind us. No, we don’t talk very much about class anymore, and when we do, the discourse is often very confused. In the mainstream media, it’s probably more common to see <a href="https://www.cbc.ca/radio/sunday/deborah-dundas-on-class-1.6854474">stories about how we don’t talk about or think about class</a>, than stories actually involving some semblance of class analysis. When we do get around to discussing class, the terms of the conversation are often vague, imprecise, and arbitrarily defined. Yet it shapes the reality of our lives and all of society from top to bottom. To move beyond a class-based society, we don’t just need to talk about class, we also need to understand it clearly.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2F5KCr2%2F2%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2F5KCr2%2F2%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2F5KCr2%2Fplain-s.png%3Fv%3D2&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=dwcdn" width="600" height="400" frameborder="0" scrolling="no"><a href="https://medium.com/media/f04fd3d20866ef584262ace582ade462/href">https://medium.com/media/f04fd3d20866ef584262ace582ade462/href</a></iframe><p>This post sets the stage for a series of analyses on social class under modern capitalism, aiming to cut through some of the ideological fog clouding the terrain. For the most part, I’ll be scouring the existing data and evidence to touch on different aspects of class division, class formation, exploitation, and so on. We’ll start, at least, with a focus on class in the settler-capitalist entity of Canada, which is likely one of the least class-conscious societies on Earth, for reasons we shall explore moving forward.</p><h3>Class according to the dominant ideology</h3><h4>The legacy of Weber in conventional thinking about class</h4><p>So what is class anyways? Often, it isn’t even clear what we mean when we refer to class. What does it mean for a society to be divided up into social classes? There are competing schools of thought, based on differing understandings of society — and not all are equally useful in describing or transforming the real world. The first strain of thinking, the one that dominates mainstream liberal ideology, views (1) class division as based on differences or inequalities in socioeconomic status and (2) class struggle primarily as competition over the distribution of wealth and resources.</p><p>For now, I’ll be speaking in very general terms about this first universe of class thinking that reigns in popular discourse, media, much academic literature and scholarship, and people’s actual thinking and understanding of the world. Without going too far off into old-timey sociology, this tradition of thought owes much to work of the sociologist Max Weber, who once described himself as a <a href="https://jacobin.com/2023/05/max-weber-class-consciousness-bourgeoisie-social-theory-capitalism">“a class-conscious bourgeois.”</a></p><p>Weber’s thinking on class, while flawed in many regards, remains far more sophisticated than much of what passes for class analysis today. For Weber, economic class relations were fundamentally about relationships of property ownership: <a href="https://sites.middlebury.edu/individualandthesociety/files/2010/09/Weber-Class-Status-Party.pdf">“‘Property’ and ‘lack of property’ are, therefore, the basic categories of all class situations.”</a> In Weber’s view, social classes of people, based on whether they own particular types of property or not, share a similar “market situation” that determines their social and economic prospects in a market-based society:</p><blockquote><em>We may speak of a “class” when (1) a number of people have in common a specific causal component of their life chances, in so far as (2) this component is represented exclusively-by-economic-interests in the possession of goods and opportunities for income, and (3) is represented under the conditions of the commodity or labor markets.</em></blockquote><p>Emphasis is placed mostly on how social inequalities play out in the realm of market exchange. In this view, class struggle and conflict are mainly <strong>distributional</strong> in nature, as individuals compete over limited societal wealth, resources, and opportunities. For Weber, the economic dimension was just one facet of class and hardly the most important, holding that immutable privilege based on status inequality — in other words, social honour or prestige — was the most <a href="https://www.nature.com/articles/palcomms20162">fundamental and inexorable form of inequality</a> between humans.</p><blockquote><em>With some over-simplification, one might thus say that “classes” are stratified according to their relations to the production and acquisition of goods; whereas “status groups” are stratified according to the principles of their consumption of goods as represented by special “styles of life.”</em></blockquote><h3>Why do class divisions exist?</h3><p>So why do class differences exist, according to most mainstream theories of class? Broadly speaking, it goes that social class is determined by individual and family factors that influence one’s social and economic chances in life-income, education, occupation, status, wealth, cultural capital, and so on. In this view, classes are therefore strata of individuals and families whose shared circumstances grant similar levels of income, wealth and consumption.</p><p>Inequality between classes is therefore about the unequal and unfair distribution of incomes, material goods, and opportunities. The overall class structure of capitalist society therefore, is the total product of those distributional inequalities — in college degrees, high-paying jobs, social connections, cushy inheritances — that come together over time to form an enduring social and economic hierarchy based on <a href="https://www.theguardian.com/society/2019/feb/07/the-class-pay-gap-why-it-pays-to-be-privileged">“class privilege.”</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zMYDL6lY1wpiQjLYF9HaaA.png" /></figure><p>As the <a href="https://sites.lsa.umich.edu/inclusive-teaching/wp-content/uploads/sites/355/2017/08/Examples-of-Socioeconomic-Status-Privilege.pdf">class privilege</a> of the wealthy, highly educated, well-connected, and so on, is passed on to their children, that hierarchy of social inequality is baked into society, and persists and grows. Economic sociologist Daniel Oesch sums it up thusly, “<a href="https://joint-research-centre.ec.europa.eu/system/files/2022-01/jrc126506.pdf">Inequalities crystallize when advantages endure over time</a>.” So rather than being due to some inherent conflict between social classes with opposing material interests, class division is seen as self-perpetuating solidification of inter-generational privilege.</p><h3>What factors determine social class?</h3><p>What is the focus of this sphere of class analysis? What are the characteristics that determine the class position of individuals and families? It really depends on who you ask. The factors in play can change from one region, paper, pamphlet, study, or speaker to the next.</p><p>It’s common to see class treated as if it were mostly, or entirely, a function of income. The OECD for example, uses <a href="https://search.oecd.org/social/under-pressure-the-squeezed-middle-class-689afed1-en.htm">a working definition of class</a> based solely on income, where the “middle class” are those earning from 75% to 200% of the median income and the “lower” and “upper” classes have incomes below and above that threshold.</p><p>Another frequent approach is to think of class as mostly about <a href="https://journals.sagepub.com/doi/full/10.1177/2059799116638003">one’s occupation</a>, the kind of work that one does — blue collar, white collar, professional, managerial — as an indicator of one’s life chances. This particular format has been fuel for ceaseless claims about the demise or irrelevance of the working class in countries like Canada because fewer people are working in factories.</p><p>In mainstream social science and health research, scholars rarely discuss social class in a direct way. Instead, they tend to focus on socioeconomic status (SES), usually conceived as some interaction between <strong>education</strong>, <strong>occupation</strong>, and <strong>income or wealth</strong>. It is unfortunately common to see scholars either use SES as a substitute for social class or to conflate it directly with class. While often a useful research tool in specific settings (e.g., survey research in health or education), SES cannot be used — on its own at least — to understand the underlying dynamics of exploitation and oppression in a class-based society.</p><p>Finally, in mainstream commentary and daily life, class is often reduced to a <a href="https://www.csmonitor.com/Commentary/From-the-Editors/2015/1102/A-middle-class-state-of-mind">“state of mind”</a> or merely a subjective identity that one may ascribe to. Some data sources and researchers simply treat a person’s self-specified class identity as their objective class position. Class identity exists, of course, but it is not class itself. Commonly, this path descends into vibes-based thinking about class. A <a href="https://www.ekospolitics.com/wp-content/uploads/understanding_the_middle_class_final_report.pdf">survey of Canadians in 2017 found</a> that the vast majority of people consider things like “having a better life than your parents” or “knowing you will be rewarded for hard work” as important aspects of being part of the “middle class.”</p><p>It also often veers off into a concept of class focused on status-based differences in consumption and lifestyle preferences, owing to the legacy of Weber. If one takes the <a href="https://angusreid.org/great-canadian-class-survey/">Great Canadian Class Survey</a> for example, at least one-third of the questions posed are related to consumption tastes. Working class people drink Tim Hortons and drive trucks, while middle class people drink lattes and drive hybrid-SUVs — that sort of thing.</p><h3>What are the classes that divide society?</h3><p>What does the class structure of society look like through this lens? It is generally accepted that social classes, by their nature, exist in some sort of hierarchy. There are many variations, but usually society is drawn up into the “upper”, “middle”, and “lower” classes. Commonly, the “middle class” split into subgroups like an upper-middle and lower-middle class. Frequently the terms <strong>lower class</strong> and <strong>working class</strong> are used synonymously, at other times they simultaneously inhabit the lower end of a class schema.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dTYvGVy4qKHHlOQSqyQbfA.png" /></figure><p>What are the meaningful distinctions between any of these class groups? What makes a person working class and not middle or upper class, in this view? Sociologist Wolfgang Lehmann, <a href="https://macleans.ca/society/what-does-it-mean-to-be-working-class-in-canada/">who studies social class in Canada</a>, sums it up:</p><blockquote><em>Low levels of formal education, jobs that are not professional or managerial and income below a certain level is generally considered working-class.</em></blockquote><p>Certainly, most people that fit this profile are working class. But is that really what the working class is? Uneducated workers with low incomes? It seems like a rather unsatisfactory definition. At what point does a working class person become a middle class person? If they graduate with a degree? When they get a better job or promotion?</p><p>What is the “certain level” of income that denotes membership in one class or another? One study found that <a href="https://www.brookings.edu/articles/a-dozen-ways-to-be-middle-class/">across 12 different commonly used income-based definitions of class</a>, nearly 9 out of 10 U.S. households could be defined as middle class.</p><p>There can be no consistent answers to these questions, and that is mostly by design. Perhaps the right question to ask is <em>who are they working for?</em></p><h3>The Marxist understanding of social class</h3><h4>Class is all about exploitation</h4><p>Class is not your income or your wealth, nor your education or job title. Class isn’t about whether one wears a hard hat or types at a computer while working. It’s not necessarily about the <em>type</em> of work that one does. Class is not how expensive one’s watch or luxury car is and certainly not about whether one has “high class” or “low brow” interests and preferences. Or any other cultural markers, for that matter. Many of these things are related to class, perhaps they are manifestations of class, but they are not class itself.</p><p>Thankfully, there is another option for class analysis that can actually lead to clear thinking about class. As Marx and Engels famously opened <em>The Communist Manifesto</em>, “The history of all hitherto existing society is the history of class struggles.” In this tradition of thought, class is about the division of society into a minority of people that (1) own and control the <strong>means of production</strong> and hold the levers of <strong>state power</strong> of a given society and (2) the majority of property-less masses, that must toil in some way or another for the property owning class. The owner class is the ruling class of society that prospers by taking from the surplus labour performed by the property-less masses — this social relationship can be described as exploitation, something that conventional class analysis misses entirely.</p><p>Class, in this sense, represents a social relationship between exploiter and exploited, which is mediated by (1) the nearly exclusive ownership of private property, the means of producing wealth, by a small minority and (2) their exercise of violence and state power to maintain class domination. This view of class sits at the core of the Marxist analysis of capitalism, and of all class-based societies that came before it. We are not talking about the arbitrary division of society into “upper”, “middle”, or “lower” classes based on an arbitrary number of features. No, we speak of classes with fundamentally opposing material interests due to a relationship of exploitation. Exploitation of slaves by masters, of peasants by landowners, and of workers by capitalists.</p><p>In this view, simply put, class is fundamentally about <strong>exploitation</strong> and <strong>domination</strong>. Relations between classes are inherently ridden by conflict — the ruling classes struggle to maintain and intensitfy exploitation and domination, while the toiling classes struggle in the opposite direction, to throw off those burdens. As the brilliant sociologist <a href="https://socialistregister.com/index.php/srv/article/download/5500/2398/7396">Ellen Meiksins Wood</a> wrote:</p><blockquote><em>Class struggle is the nucleus of Marxism. This is so in two inseparable senses: it is class struggle that for Marxism explains the dynamic of history, and it is the abolition of classes, the obverse or end-product of class struggle, that is the ultimate objective of the revolutionary process. The particular importance for Marxism of the working class in capitalist society is that this is the only class whose own class interests require, and whose own conditions make possible, the abolition of class itself.</em></blockquote><p>In the conventional view, following Weber’s footsteps, many think of the economic dimension of class relations and inequality as centered in the <strong>realm of exchange</strong>, in the unequal distribution of incomes and societal resources through market mechanisms. In the Marxist view, the economic dimension of class lies in the <strong>realm of production</strong> with exploitation, which necessarily precedes exchange. Exploitation occurs first in production, when the class of people without property are compelled to perform surplus labour for the class of people that do own property.</p><p>Of course, the two-class division of society is only an over-arching framework with much room for nuance underneath. Class-based societies have never been neatly divided into the two camps of exploiter and exploited. From the earliest days of state formation, the ruling classes also developed a need to cultivate class allies and collaborators in order to execute and safeguard functions of state and governance on their behalf. The first private landowners surely needed groups of armed men to enforce their exclusive claims to the land, and so a military class was created in many early class-based societies, whose role was to violently enforce the class order and in return, enjoy some of the surplus as a reward.</p><p>Throughout history and right until today, the ruling classes have spawned many varieties of these various ‘hanger-on’ sub-classes that, while not owners and masters themselves, share in their interest in maintaining the current social order at the expense of those who are exploited.</p><h3>The basic class structure of capitalism</h3><p>Under capitalism, the <strong>capitalist class</strong> monopolizes ownership of society’s major means of production such as factories, technology, raw materials, and land itself. In modern capitalism, capitalists aren’t just those who own factories, but all who own enough capital that they can live at a high standard off of capital income entirely, and beyond that to accumulate more and more capital. So there are capitalists who are so not because they own a factory or company, but simply because they own a whole lot of money and other liquid assets that can be employed as capital. There is also a section of the capitalist class, one we are all too familiar with in Canada, that seeks to expand their capital through rent extraction and landlordism.</p><p>Most capitalists are small-fry or middling-level, owners of small and medium-sized enterprises, the rank and file of the ruling class. Multi-millionaires with ownership of significant capital, but still relatively small-time players. Standing on top of them are the true rulers, capitalists with ownership of capital in the hundreds of millions and billions, often including ownership shares and positions of power in major corporations. They are not merely the “upper” class, but the <strong>ruling class</strong> of capitalist society, and they rule because they own the capital.</p><p>The <strong>working class</strong>, on the other hand, is the majority of people in the world that own no such capital, nor the means to be self-sufficient, and therefore must sell their labour power to the capitalists for a wage to survive. In previous forms of society, the relationship of exploitation was much more direct and obvious. The feudal lord demands a cut of your crops, and if you don’t pay up, people with swords will show up to make you wish you did. Under capitalism, exploitation is more disguised: you are forced to work for a wage for a capitalist, because you have bills to pay and no other options, but that wage is worth less than the value of the goods or services you produce. Minus fixed costs, the difference between wages and the value of your labour goes into the bosses’ pockets. That’s capitalist exploitation.</p><p>Somewhere in between those two classes lies a “middle class” that combines characteristics of both the capitalist and working classes. In the traditional sense, these are the small time capitalists and artisans, the petit-bourgeoisie. The middle class today still contains many small time capitalists, but has grown to include people like professionals and small-time landlords as well.</p><h3>An illustration of capitalist exploitation</h3><p>Capitalists pay for labour power — the human capacity to work — from workers, for a given duration of time each day. Capitalists buy this capacity of the worker to labour, but by right of ownership of capital alone, they receive the entire output of that labour in the form of commodities (goods or services) that can be sold for more than the cost of wages and other costs, meaning profit.</p><p>Assume a worker making an hourly wage of $15 is producing widgets worth $10 per sale, minus deductions for fixed costs. In a given hour, say the worker has produced five widgets, which are sold at a total of $40, minus other fixed costs like raw materials, utilities, depreciation of equipment, and so on. After just two sales, the worker has performed more than enough <strong>necessary labour</strong> to cover the cost of their wage. From that point on, the worker will be performing <strong>surplus labour</strong> capable of producing a surplus of value above what it costs to pay for production.</p><p>Over the hypothetical workday, the worker produces 40 widgets which are sold for a total of $400, after deducting fixed costs like raw materials and utilities. The capitalist pays out $120 in wages for 8 hours of work, yielding a surplus of $280, which is more than the initial cost of the commodities, including labour-power, that went into producing those widgets. This increase in value is known as <strong>surplus value</strong> and possible not by miracle, but because the capitalist reaps the difference between the value of wages and the value of the output of worker’s labour.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fdatawrapper.dwcdn.net%2FEfmHn%2F3%2F&amp;display_name=Datawrapper&amp;url=https%3A%2F%2Fdatawrapper.dwcdn.net%2FEfmHn%2F3%2F&amp;image=https%3A%2F%2Fdatawrapper.dwcdn.net%2FEfmHn%2Fplain-s.png%3Fv%3D3&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=dwcdn" width="786" height="452" frameborder="0" scrolling="no"><a href="https://medium.com/media/05ef522ae6f377712c4871487500dde2/href">https://medium.com/media/05ef522ae6f377712c4871487500dde2/href</a></iframe><p>It is this purchase of <strong>labour power</strong>, the only commodity that is capable of adding more value than it is worth to the production process, that creates the potential for profit and capital accumulation. The capitalist will re-invest some of this surplus into the business and production to further expand and accumulate capital, then the rest can be pocketed by owners and shareholders as capital income, paying as little tax as possible along the way.</p><iframe src="https://flo.uri.sh/visualisation/14230265/embed" width="700" height="575" frameborder="0" scrolling="no"><a href="https://medium.com/media/17fe76fd21003b385e1b3ada6b3e08c8/href">https://medium.com/media/17fe76fd21003b385e1b3ada6b3e08c8/href</a></iframe><p>So why does class division exist under capitalism? It is so because this capitalist exploitation, the extraction of surplus value, occurs at a massive scale, as the masses of people across the world, and in each country, with few exceptions, must toil so that a wealthy minority of property owners may profit and expand their capital even further. Each year, more and more surplus value produced by the working class is heaped into the pile of the ruling class, who in turn further entrench their wealth and power.</p><p>Of course, the breadth of capitalist exploitation goes beyond the scope of this simple illustration and is not limited to the workplace. While only the exploitation of labour can produce economic value, capitalists can also profit using market mechanisms to <a href="https://medium.com/@re.Marx/rent-is-always-exploitation-c81acd1a19ac">siphon off value produced elsewhere in the economy</a> in many other ways that certainly meet to bill of exploitation. For example, the <a href="https://thetyee.ca/Culture/2023/05/03/What-Behind-Housing-Crisis-Canada/">exploitation of tenants by landlords</a> through rent extraction or the exploitation of entire nations through <a href="https://www.sciencedirect.com/science/article/pii/S095937802200005X#:~:text=Unequal%20exchange%20theory%20posits%20that,price%20differentials%20in%20international%20trade">unequal exchange</a> in the context of imperialism.</p><h3>Moving forward with class analysis</h3><p>Thus far we have established that the class division of society is premised on social relationships of exploitation and domination. This gives us a good overview of how class works at a high level, but still leaves many questions unanswered. For example, how can we tell who belongs to the working class in Canada? What about the ruling class? What actually separates — objectively speaking — members of the working class from that of the middle class? How can any of this help us to understand and transform society? To derive more satisfying answers to those types of questions, we’ll need to get into both the research and real world data. To start that process, the next post will be a look at how people in Canada <em>think about</em> the class structure of society.</p><p><em>Originally published at </em><a href="https://ds4cs.netlify.app/post/class-is-in-session-clear-thinking-about-social_class-capitalism/"><em>https://ds4cs.netlify.app</em></a><em> on February 13, 2024.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=abafc511e953" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Visualizing Corporate Plunder of the Canada Emergency Wage Subsidy with Bullet Charts]]></title>
            <link>https://ds4cs.medium.com/visualizing-corporate-plunder-of-the-canada-emergency-wage-subsidy-with-bullet-charts-db755b1bc2da?source=rss-641d5da6acaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/db755b1bc2da</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-visualization]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[politics]]></category>
            <category><![CDATA[economics]]></category>
            <dc:creator><![CDATA[Data Science for Class Struggle]]></dc:creator>
            <pubDate>Fri, 03 Dec 2021 00:00:00 GMT</pubDate>
            <atom:updated>2021-12-08T21:26:51.801Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Gfz2NCeefQoYij7DiyTFyA.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@alonly?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">C Joyful</a> on <a href="https://unsplash.com/s/photos/bullet-train?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>In the <a href="https://ds4cs.netlify.app/post/data-wrangling-for-the-left-checking-in-on-the-canada-emergency-wage-subsidy/">first post in the DS4CS Learning Series</a>, I shared the code used to produce my first story on the <a href="https://ds4cs.netlify.app/post/cews-a-scandalous-gift-to-capital/">Canada Emergency Wage Subsidy</a>, which was a corporate feeding frenzy of historical proportions. In this post, I’ll be demonstrating how to produce the visuals for the CEWS story using ggplot2, focusing on bullet charts. Along the way, I&#39;ll also share a few tips for working much more efficiently with R, including iteration with map and how to automate chart production with custom functions.</p><p>If you would like to recreate the charts exactly as they are, you can either visit the <a href="https://ds4cs.netlify.app/post/data-wrangling-for-the-left-checking-in-on-the-canada-emergency-wage-subsidy/">first post</a> and follow along <strong>or</strong> download the archive of .rds files used to make the charts <a href="https://ds4cs.netlify.app/post/make-more-impactful-comparisons-with-bullet-charts-using-ggplot2/%27cews_data.zip%27">right here</a>. If you are just here for the functions used to produce the bullet charts in the article, feel free to download the <a href="https://ds4cs.netlify.app/post/make-more-impactful-comparisons-with-bullet-charts-using-ggplot2/%27bullet_chart_functions.R%27">R script here</a>.</p><h3>Hold on! What’s a bullet chart?</h3><p>A bullet chart is an <a href="https://en.wikipedia.org/wiki/Bullet_graph">upgraded bar-within-bar version of a bar chart</a> created by data visualization and dashboard expert Stephen Few. Bullet charts are an appropriate upgrade to a bar chart in cases that require making a comparison between two quantitative variables, often as they relate to a third grouping variable. What sets a bullet chart apart from a conventional bar chart?</p><p>First, bullet charts have a much higher information density compared to a similar grouped bar chart. An additional layer of quantitative data is imposed over the data represented in the bar, with the possibility to <a href="https://themockup.blog/posts/2020-11-29-bullet-chart-variants-in-r/">encode even more information</a> by adding a benchmark tick and filling of the bars based on a qualitative measure.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/477/1*K3oRF6w7VizdZt0Up3zlYg.png" /></figure><p>Comparison of two quantitative variables across a third grouping variable is exactly what was needed to visualize the corporate free-for-all that was the Canada Emergency Wage Subsidy. In this case, we want to compare two quantitative variables, net corporate profits and the amount of CEWS received, across a third categorical variable denoting each industry.</p><h3>From Data Viz to Data Storytelling</h3><p>It would be entirely possible and valid -also likely the default in many programs like Excel- to visualize this data as a grouped bar chart like below, with the <strong>yellow bars</strong> denoting net_profits and the <strong>red bars</strong> representing the subsidy received by the industry. It gets the basic message across, most industries took in billions of subsidies while raking in greatly more in net profit. But it isn&#39;t a particularly high impact visualization in any regard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DcC7ZBEf_VZSirqSx8goUA.png" /></figure><p>Visualizing the same data as a bullet chart is much a more effective way of making this comparison. First, the subtle change in the <a href="https://uxdesign.cc/how-bullet-charts-taught-me-about-the-importance-of-layering-3f8e8b102c04">visual layering</a> of the data anchors the second comparison variable into the middle of the bar of the first. This immediately signals <strong>visual comparison</strong> to the viewer’s eye.</p><p>The visual layering and bar-width difference can be used to highlight the subordinate or hierarchical nature of many comparisons, which is in this instance that the subsidy will always be less than net_profits for this particular chart. Look up at the bar chart and notice that the identical width and visual weight of the bars. The bullet chart on the other hand, assigns far greater visual weight to the bar representing profits. The inner bar representing state subsidies forms the visual foundation of the thick bar representing capitalist profits. In such ways the bullet chart conveys visually the <strong>true story</strong> that profit is the priority in the capitalist response to the COVID crisis.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tKd3FBFAjyy2KEblvMaI4g.png" /></figure><p>Also, the bullet chart format allows for adding value labels denoting the inner bar as a percentage of the outer bar. Viewing a grouped bar chart, we’re often trying to make this calculation in our mind: <em>“This bar is what percentage of that bar?”</em> In a bullet chart, the layering of bars and the way the inner bar anchors the bar base already prime the viewer’s eye to to see it. This kind of labeling is intuitive for a bullet bar, but would be difficult to pull off in a conventional grouped bar chart.</p><h3>Retrieving and preparing the data</h3><h4>Using map and anonymous functions for iteration in efficient data science workflows</h4><p>First, start as most data science workflows do, by loading the packages that you need before most of your other code. It’s a good practice to load all of the packages up-front, so that they can be shared in a list of package dependencies if you want others to be able to reproduce your code.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/aec8736a7b5f1130c8d4aee2afcfb2f4/href">https://medium.com/media/aec8736a7b5f1130c8d4aee2afcfb2f4/href</a></iframe><p>One of the great things about switching from ‘point and click’ workflows in software like Excel to a functional scripting language like R is the potential to greatly boost the efficiency and effectiveness of your work, while reducing the burden of overly tedious, yet common data science tasks. <a href="https://en.wikipedia.org/wiki/Don%27t_repeat_yourself">Don’t repeat yourself</a> is a basic principle of <a href="https://r4ds.had.co.nz/functions.html#functions">good coding</a>. If a piece of code is going to be replicated more than a few times, it’s almost always a better choice to use functions and/or iteration. It will not only save you time and effort via automation, but also many headaches down the road, since more concise code is much less likely to break and easier to debug when it does.</p><p>Iteration is an incredibly common and useful task in coding and data science. In this context, <a href="https://computersciencewiki.org/index.php/Iteration">iteration simply means a set of instructions</a> (e.g., function call, operations) that repeats in sequence. Using R, it’s possible to iterate over just about any object including vectors, lists, environment variables, data frame columns and rows, charts and graphs, file paths, URLs, you name it.</p><p>Here is a simple example of <strong>DRY</strong> in action, using the map function from the absolutely essential <a href="https://purrr.tidyverse.org/">purrr package</a>. The map function takes any vector or list as it&#39;s first argument .x and the second argument .f is a function call that iterates over each item in .x. Rather than type out the call to read_rds and here with the full file path three times, we can use an <strong>anonymous function</strong> within map to paste a vector of strings cews_paths into file paths in order to import all three tables in one call. An anonymous function can be defined on-the-fly without having to assign it to an object in the environment. If the concept of an anonymous function is new to you, it&#39;s worth reading a <a href="http://adv-r.had.co.nz/Functional-programming.html#anonymous-functions">short introduction here</a>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d498111ce87c9a141040d4f3753adc6e/href">https://medium.com/media/d498111ce87c9a141040d4f3753adc6e/href</a></iframe><p>purrr has a special shorthand syntax ~ that makes using anonymous functions within calls to map even easier and more concise. Place the ~ immediately preceding the function call .f in map and use .x to control where in the function the items you wish to iterate over will be placed. If this returns an error object .x not found, you&#39;ve likely forgotten to use ~ to tell R that this is an anonymous function, so it&#39;s looking for an actual object named .x and not iterating through the items supplied to .x.</p><h3>Working with lists in R</h3><p>By default, map will return the output of the supplied function as a list with one element for each iteration over .x. In this instance, one tibble for each file path.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1fd230f9b96af258007de77fbc0722f8/href">https://medium.com/media/1fd230f9b96af258007de77fbc0722f8/href</a></iframe><pre><em>## [1] &quot;list&quot;</em></pre><p>Working with lists can be tricky at first, but it is worth getting used to for the incredible benefits to one’s workflow it will unlock down the road. Using purrr:set_names, each tibble in the list is assigned a name, making the list a bit easier to work with.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/48711044c61b2e61d21627e5b367bde1/href">https://medium.com/media/48711044c61b2e61d21627e5b367bde1/href</a></iframe><pre>## $profits <br>## # A tibble: 13 x 4 <br>## naics_final net_profits subsidy pct_profits <br>## &lt;fct&gt; &lt;dbl&gt; &lt;dbl&gt; &lt;dbl&gt; <br>## 1 Manufacturing 66407000000 16398789000 0.247 <br>## 2 Construction 51026000000 11274636000 0.221 <br>## 3 Arts/Acc/Food/Ent/Rec -5013000000 10584779000 -2.11 <br>## <br>## $size <br>## # A tibble: 3 x 6 <br>## claim_period size_of_applicant applications subsidy pct_total pct_total_subsi~ <br>## &lt;chr&gt; &lt;chr&gt; &lt;dbl&gt; &lt;dbl&gt; &lt;dbl&gt; &lt;dbl&gt; <br>## 1 All Periods Small (25 or few~ 3352710 2.37e10 0.776 0.256 <br>## 2 All Periods Medium (26 to 25~ 901540 3.88e10 0.209 0.419 <br>## 3 All Periods Large (over 250 ~ 56920 3.01e10 0.013 0.325 <br>## <br>## $lobby <br>## # A tibble: 50 x 6 <br>## id ref_date corp ref_year source subsidy <br>## &lt;dbl&gt; &lt;date&gt; &lt;chr&gt; &lt;dbl&gt; &lt;chr&gt; &lt;dbl&gt; <br>## 1 914017 2021-07-15 Air Canada 2021 Canada Revenue Ag~ 5.86e8 <br>## 2 911084 2021-04-15 Suncor Energy Inc. 2021 Canada Revenue Ag~ <br>## <br># ... with 40 more rows</pre><p>Once the data is imported, some quick last minute adjustments are made to prepare the data for plotting. One way to work with lists is using the subset operator $ to access list items by name. In the profits tibble, unprofitable industries are filtered out (though they could be included in the chart with some additional effort) and set the factor levels in descending order of net_profits. We do the latter because when using ggplot2 to plot a factor, the levels will be the default plotting order of the items.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6c419a2f2495bc2a420662e4438886b9/href">https://medium.com/media/6c419a2f2495bc2a420662e4438886b9/href</a></iframe><p>List items can also be accessed by numerical index list[[n]] as well, as is done to take the top 15 biggest CEWS recipients from the lobby tibble below.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3806835c2b10ce241dacafb2f24cf526/href">https://medium.com/media/3806835c2b10ce241dacafb2f24cf526/href</a></iframe><h3>Masterful crafting of bullet charts with ggplot2</h3><h4>Essential data structure for a bullet chart</h4><p>The basic data structure required to produce a bullet chart with ggplot2 is as follows:</p><ul><li>Data must be in the form of a data frame or tibble</li><li>Categorical variable x that form the axis categories</li><li>Categorical variable z with labels for the two quantitative variables</li><li>Numerical variable y with values linked to x and z</li><li>Width column, denoting the variable widths of the bullet chart bars.</li></ul><p>See a bare bones example of the data created from scratch with the tibble::tribble function, which can be pretty useful when you need to come up with small amounts of hand crafted data in a hurry.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c777686451ea97338b0f8f8f6bb3df01/href">https://medium.com/media/c777686451ea97338b0f8f8f6bb3df01/href</a></iframe><pre>## # A tibble: 2 x 4 <br>## x z y width <br>## &lt;chr&gt; &lt;chr&gt; &lt;dbl&gt; &lt;dbl&gt; <br>## 1 Total, all industries profits 301022000000 0.7 <br>## 2 Total, all industries subsidy 92794229000 0.3</pre><h4>Using the grammar of graphics to build a basic bullet chart</h4><p>If you are first approaching ggplot2, I&#39;d highly recommend familiarizing yourself with the <a href="https://cfss.uchicago.edu/notes/grammar-of-graphics/">grammar of graphics</a>, a design philosophy that breaks down visualizations into combinations of layers, mappings, scales, coordinated, and facets. Plot components can be added together one at a time with the + operator, always starting with an initial call to the ggplot() function.</p><p>The variables that you want to map to aesthetic outputs to make charts need to be passed to the aes() function within the call to ggplot(). Once the aesthetics are mapped with aes, shapes are added to the plot using geom_ functions, in this case, adding bars with geom_col() and grabbing the bar widths from the original tibble with $width.</p><p>The plot’s <a href="https://ggplot2-book.org/coord.html">coordinate system</a> can be changed with the coord_ functions. The type of plot produced will vary according to different combinations of geometry and coordinates. After adding bars to the chart, change the coordinates to turn it into a horizontal bar chart with coord_flip(). There&#39;s no limit to the number of geoms that a ggplot can have, as long as they map to your data in valid ways, but a chart can (usually) only accommodate one coordinate system.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/11249442ecaf635907c9835eb199ece9/href">https://medium.com/media/11249442ecaf635907c9835eb199ece9/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5UMnrokbf_VCQNphIS3uIg.png" /></figure><p>The default chart output without any changes to styling and scales is usually not going to look great. Axis scales and scales mapped to aesthetic variables ( <em>e.g.</em> color, fill, size, transparency) can be added and adjusted with the scale_ functions all types. Now we can add custom fill colours with scale_fill_manual and adjust units of the axis scale labels with scale_y_continuous. It&#39;s looking a bit better already.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9884d47ba58dee1aaf8dc77248738eef/href">https://medium.com/media/9884d47ba58dee1aaf8dc77248738eef/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VWqqa2nE4TDpAYlMyPIWIQ.png" /></figure><h3>Adding value labels to bullet bar charts</h3><p>Value labels can be added to bar charts by using geom_text and passing the numeric values to the label aesthetic. For these bullet charts, we want to add a value label showing the inner bar as a percentage of the outer bar. By default, geom_text is going to insert value labels for each series, but we only want to display a single label for the inner bar. It&#39;s often the case when making bar charts to want to add value labels only to certain bars, which can be accomplished by changing the data argument of the call to geom_text and filtering the data frame for only the values to be plotted as labels.</p><p>Quickly improve the look of the chart by applying a theme_ function from the hrbrthemes package. We have ourselves a basic bullet chart. In total, Canadian corporations raked in over $300 billion in profits from 2020 to the third quarter of 2021, while taking in just under a third of that total overall in CEWS.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/047c27634351e6afeb2ac34644505847/href">https://medium.com/media/047c27634351e6afeb2ac34644505847/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*kO8CBQVqrqm1igg2PaFRUA.png" /></figure><h3>The joy of chart production using functional programming</h3><p>So you now know how to make a bullet chart from scratch. But what if you had to create a bullet chart for every single pair of variables in a report? Are you going to have to copy and paste the code for each chart? No sweat, avoid wasting time with duplication by writing a function to automate the task.</p><p>As a functional programming language, <a href="https://r4ds.had.co.nz/functions.html">functions are the star of the show in R</a>. A custom function can be defined by assigning a call to function (itself a function) to an object in an environment with the &lt;- operator.</p><p>Below, I have defined a function that takes a data frame as input, transposes the comparison column to long form with pivot_longer and inserts the bar widths by group with mutate and rep. From there, the function automatically produces a basic bullet bar chart by placing the input captured by the dots ... in the third argument, which take an arbitrary number of inputs, into the aesthetic mappings of ggplot2 through aes.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d7e5490cf52452f3d795b2675a431c57/href">https://medium.com/media/d7e5490cf52452f3d795b2675a431c57/href</a></iframe><p>When writing the call to function, you can specify the arguments that the function will take as inputs. Here is how the bullet chart function can be called with the chosen arguments:</p><ol><li>df takes a data frame or tibble</li><li>pivot_by denotes columns by numerical index to pivot into a longer into a single column for comparison</li><li>... takes comma separated variable names as inputs to aes to create the chart</li><li>widths controls the width of the outer and inner bars respectively. This is an <strong>optional</strong> argument, since they it been given a default value.</li></ol><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9cad48b6696c1ce71edb33a53b76fa76/href">https://medium.com/media/9cad48b6696c1ce71edb33a53b76fa76/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5HiK2ks35yVlhso6bZGJeg.png" /></figure><h3>Using tidy evaluation and custom functions with ggplot2</h3><p>Let’s pair the bullet chart function with another function to automate adding the value labels with geom_text.</p><p>First, a brief note on using packages from the indispensable tidyverse (including ggplot2) within your own custom functions. For myself, understanding how R <a href="https://adv-r.hadley.nz/evaluation.html">evaluates arguments to functions</a>, and then how to make this work in the tidyverse was a major hurdle to clear in learning how to write and use functions. It you&#39;re new to functional programming with R and the tidyverse, it&#39;s worth reading on <a href="https://dcl-prog.stanford.edu/tidy-eval-detailed.html">tidy evaluation</a> in greater detail.</p><p>In base R, it’s necessary to use df$var or df[&quot;var&quot;] to refer to a column of a data frame. This gets tedious and messy really quick. In the tidyverse, thanks to <a href="https://dplyr.tidyverse.org/reference/dplyr_data_masking.html">data masking</a>, we can just directly use variables names without having to subset the data frame with $ or [ every time. To use bare variable names as inputs in custom functions, we have to first quote the input with enquo and then unquote it to use it in the body of the function with the unquote !! operator.</p><p>From there, the input to filter_var, also an unquoted variable name, is converted to a string to feed into filter using deparse and substitute. The original data used to recreate the plot can be retrieved from any ggplot object by accessing ggplot$data, so we grab the original data for filtering from the original chart passed to plot.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/50c85b315ef2d1cee230ca668972e777/href">https://medium.com/media/50c85b315ef2d1cee230ca668972e777/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iQXTdAnm4A99WkG0vfpXXw.png" /></figure><h3>Put the icing on the cake with your own theme function</h3><p>ggplot2 offers an incredible level of customization and control over the thematic elements of a plot through the theme function, which can control over 100 different plot elements. Use theme to apply the finishing touches by controlling elements like the horizontal or vertical axis, labels, grids, legends, margins, and much more. It&#39;s also possible to use a function to store and efficiently apply a custom ggplot theme, like below.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c5b344b22300bd5a0521277c34ba6602/href">https://medium.com/media/c5b344b22300bd5a0521277c34ba6602/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*pHiBQ1cbDefJdibjg9-ATA.png" /></figure><h3>Adding it all together now</h3><p>Here we’ll string all three function calls, together with pipes %&gt;% in order to produce a bullet chart with a different kind of quantitative data, comparing the <strong>percent of CEWS received in red</strong> versus the <strong>percent of total CEWS applications in yellow</strong> by enterprise size. To finish, convert the horizontal axis to percent format and use an anonymous function (the ~ won&#39;t work outside of purrr functions) to wrap the long text labels.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/84b7543c71a67dd3df324cbb569bc4d2/href">https://medium.com/media/84b7543c71a67dd3df324cbb569bc4d2/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y6J_zBBxvW_S2nrwV9ZvRg.png" /></figure><h3>BONUS CHART and ditching legends for fancy text in plot titles and subtitles</h3><p>But wait! There’s still one more chart to go; this one is nothing like a bullet chart, so we’ll call it a bonus chart. I haven’t really seen anyone use a chart like this before, so I’m not sure what to call it. <strong>Text-as-the-bar bar chart</strong> perhaps? The data format for this chart is identical to a regular bar chart, but instead of adding bars with geom_col or geom_bar, use geom_text to paste the values labels directly where the bars should be.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3cb3b10393675c18a19f4bcde9fd2ba9/href">https://medium.com/media/3cb3b10393675c18a19f4bcde9fd2ba9/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nu33nQzwD8fV1tB0Q5lG4w.png" /></figure><p>Last but not least, one more hot tip on fancy title text and value legends. I like to use a lot of custom text in the titles and subtitles of the charts for the site. When it’s appropriate for the data and visual, I like to forgo using a color legend and instead encode the color scale values directly into the title or subtitle of the chart.</p><p>This is possible with the wonderful <a href="https://github.com/wilkelab/ggtext">ggtext package</a>, which greatly improves text rendering support for ggplot. Using element_markdown, it&#39;s possible to include both markdown and html in plot text.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/300697f3507ef094999912f526a9b735/href">https://medium.com/media/300697f3507ef094999912f526a9b735/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NdzQ-6EEqz3e5zPPSORdOQ.png" /></figure><p><em>Originally published at </em><a href="https://ds4cs.netlify.app/post/make-more-impactful-comparisons-with-bullet-charts-using-ggplot2/"><em>https://ds4cs.netlify.app</em></a><em> on December 3, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db755b1bc2da" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using R and Open Data to Check-in on the Canada Emergency Wage Subsidy]]></title>
            <link>https://ds4cs.medium.com/using-r-and-open-data-to-check-in-on-the-canada-emergency-wage-subsidy-dfa3eeb550b?source=rss-641d5da6acaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/dfa3eeb550b</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[socialism]]></category>
            <category><![CDATA[canada]]></category>
            <dc:creator><![CDATA[Data Science for Class Struggle]]></dc:creator>
            <pubDate>Wed, 01 Dec 2021 00:00:00 GMT</pubDate>
            <atom:updated>2021-12-03T07:00:00.028Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*aTwZq7ceSHClNuAconBNig.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@mbaumi?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Mika Baumeister</a> on <a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>This is the first in an ongoing series of educational articles where I show my code and work used to produce a prior analysis. I hope that this series will serve as a useful resource to those curious about using data to advance the agendas of labour and socialism. In this inaugural entry of the DS4CS learning series, I share the code used to wrangle the data that informed my first ever <a href="https://ds4cs.netlify.app/post/cews-a-scandalous-gift-to-capital/">story on the Canada Emergency Wage Subsidy</a>.</p><p>Before continuing, I’m compelled to declare that my main areas of expertise are sociology, political science and applied social research. After about two years of learning, I’m an intermediate coder at best. I’m enthusiastic about data science, but feel that I am far from the level of expertise needed to call myself a proper data scientist.</p><p>With that in mind, I hope that one of the main take-aways of this series is that <strong>data science isn’t just an inscrutable domain of obscure math and fancy tech for ultra-experts</strong>. These posts will demonstrate that when equipped with some sound knowledge of the fundamentals of statistics and the basics programming, even relative beginners can perform useful tasks and produce impactful analysis. Throw some domain knowledge into the mix and one might be surprised at what becomes possible.</p><p>Given the recent announcement of <a href="https://www.canada.ca/en/department-finance/news/2021/11/government-introduces-legislation-to-create-jobs-and-implement-targeted-covid-19-support.html">new subsidy programs</a> to replace the obscene corporate giveaway that was the Canada Emergency Wage Subsidy, it’s an opportune time for an exercise in open data wrangling to check in on the full run of one of Canada’s most expensive government programs of all time. The code provided in this post can be used to recreate my earlier analysis revealing the CEWS to be a massive corporate feast <a href="https://ds4cs.netlify.app/post/cews-a-scandalous-gift-to-capital/">here</a>.</p><p>Data wrangling is the process of finding, gathering, cleaning, transforming and otherwise preparing data for further tasks like analysis, modeling, and visualization. Wrangling is the <a href="https://www.oreilly.com/radar/the-unreasonable-importance-of-data-preparation/">first essential step</a> to the basic data science workflow, yet it is without a doubt the least glamorous and fun phase of the process. Getting the data into a usable form will usually be the most laborious and time consuming task of a basic data science analysis or project. If any of this is new to you, I highly recommend <a href="https://r4ds.had.co.nz/wrangle-intro.html">R for Data Science by Hadley Wickam</a> as one of the best free resources for beginners.</p><h3>R basics</h3><p>Learning how to code is a non-negotiable part of learning how to do data science. <a href="https://www.r-project.org/">R is an open-source functional programming language</a> made for statistical computing that is very popular among data scientists and many others types of data-workers. All of my work up to this point has been done using R. It’s free, flexible, has a huge online community and was (to me, at least) relatively easy to pick up, at least in it’s Tidyverse incarnation.</p><p>So R is a pretty good place to start if you are looking to pick up coding and data science. In order to kick start learning R, I enrolled and completed <em>most</em> of Rafael Irizarry’s <a href="https://www.edx.org/professional-certificate/harvardx-data-science?index=product&amp;queryID=c1e1aa460a48557df244e03ef8720ad3&amp;position=2">excellent course on R for data science</a> available on EdX. You can find the <a href="https://rafalab.github.io/dsbook/">textbook for the course for free</a>, which is another great introductory source for beginners to both R coding and data science.</p><h4>Using RStudio and projects</h4><p>RStudio is an IDE or Integrated Development Environment for R code. If you want to start learning how to use R, it’s highly recommended that you start using RStudio ASAP. The free desktop version of RStudio can be <a href="https://www.rstudio.com/products/rstudio/download/">downloaded here</a>. Here’s a <a href="https://support.rstudio.com/hc/en-us/articles/201141096-Getting-Started-with-R">great collection of resources on how to get both R and RStudio installed and up and running</a>.</p><p>It’s also a good idea to get used to using <a href="https://r4ds.had.co.nz/workflow-projects.html">projects within RStudio</a> to keep track of your work on different things. One of the best parts of projects is that they prevent file-path and ‘where’s that script?’ headaches that often pop up.</p><h4>The beauty of Rmarkdown and knitr</h4><p>All of the posts on this site are written in Rmarkdown, a format that combines the capability to run R code (as well as many other languages such as Python or Julia) with writing in <a href="https://en.wikipedia.org/wiki/Markdown">Markdown</a>, a simple and lightweight markup language for formatting text. If you are new to data science with R, I highly recommend checking out this comprehensive <a href="https://bookdown.org/yihui/Rmarkdown/">free book on Rmarkdown</a> by the package author.</p><p>Rmarkdown is a wonderful thing. It provides great flexibility, easily blends writing with code, lends itself to creating sharable, reusable, reproducible analysis, and can even be used to create websites (like this one). When writing in Rmarkdown in Rstudio, the <a href="https://yihui.org/knitr/">knitr package</a> can be used to transform .Rmd documents into other formats such as html, pdf, or even Word documents. Knitr also offers much control and customization of the output of code chunks where R code is written and executed. Setting the chunk option echo = TRUE allows for the raw code to be included in the output document; if you don&#39;t want the raw code, hide it by setting echo = FALSE.</p><pre>knitr::opts_chunk$set(echo = TRUE)</pre><h4>Using and keeping track of packages</h4><p>Typically, the first step to the data science workflow is to install and load the software packages needed for the task at hand. If you haven’t installed an R package before, take a look at this <a href="http://www.sthda.com/english/wiki/installing-and-using-r-packages">basic introduction to the topic</a>. Once installed, packages can be loaded by calling the library function.</p><p>The <a href="https://www.tidyverse.org/">Tidyverse</a> is an ecosystem of related packages with a similar style, grammar, and data formats. It’s worth reading an introduction to <a href="https://r4ds.had.co.nz/tidy-data.html">tidy data principles</a> before diving into the Tidyverse. Loading the tidyverse library automatically reads in several core packages that can take care of most common tasks in the data science workflow.</p><pre>library(tidyverse)</pre><p>Sometimes you will need to load many packages at the start of a workflow. In order to avoid re-typing a library function a dozen times, use the <a href="http://trinker.github.io/pacman/vignettes/Introduction_to_pacman.html">pacman package</a> to load in all of the needed packages at the same time. The p_load function will load each package and by default attempt to install any package that isn&#39;t currently installed. To stop pacman from installing missing packages or updating out of date packages, set the install and update arguments to FALSE.</p><pre>pacman::p_load(tidyverse, janitor, here, lubridate, cansim, zoo, sessioninfo)</pre><p>It’s not uncommon to find that code that once worked fine will break when revisited in the future. Usually, this is caused by differences in the versions of packages as they are updated over time. So the first layer of reproducibility is keeping track of and being transparent about the version history of packages used. With the sessioninfo::package_info() function, you can retrieve the versions of all packages loaded in the current R session. This shouldn&#39;t be an issue for this analysis, but specific versions of most package can be found using the archived <a href="https://mran.microsoft.com/documents/rro/reproducibility">MRAN Repository Snapshots</a>.</p><pre>sessioninfo::package_info()</pre><pre>## package * version date (UTC) lib source <br>## assertthat 0.2.1 2019-03-21 [1] CRAN (R 4.0.3) <br>## backports 1.1.10 2020-09-15 [1] CRAN (R 4.0.3) <br>## blob 1.2.1 2020-01-20 [1] CRAN (R 4.0.3) <br>## blogdown 1.3.1 2021-05-06 [1] Github (rstudio/blogdown@20a8258) ## bookdown 0.22 2021-04-22 [1] CRAN (R 4.0.5) <br>## broom 0.7.1 2020-10-02 [1] CRAN (R 4.0.2) <br>## bslib 0.2.5.1 2021-05-18 [1] CRAN (R 4.0.5) <br>## cansim * 0.3.5 2020-03-13 [1] CRAN (R 4.0.3) <br>## cellranger 1.1.0 2016-07-27 [1] CRAN (R 4.0.3) <br>## cli 3.1.0 2021-10-27 [1] CRAN (R 4.0.5) <br>## colorspace 2.0-1 2021-05-04 [1] CRAN (R 4.0.5) <br>## crayon 1.4.1 2021-02-08 [1] CRAN (R 4.0.5) <br>## DBI 1.1.0 2019-12-15 [1] CRAN (R 4.0.3) <br>## dbplyr 1.4.4 2020-05-27 [1] CRAN (R 4.0.3) <br>## digest 0.6.27 2020-10-24 [1] CRAN (R 4.0.5) <br>## dplyr * 1.0.6 2021-05-05 [1] CRAN (R 4.0.5) <br>## ellipsis 0.3.2 2021-04-29 [1] CRAN (R 4.0.5) <br>## evaluate 0.14 2019-05-28 [1] CRAN (R 4.0.3) <br>## fansi 0.5.0 2021-05-25 [1] CRAN (R 4.0.5) <br>## forcats * 0.5.0 2020-03-01 [1] CRAN (R 4.0.3) <br>## fs 1.5.0 2020-07-31 [1] CRAN (R 4.0.3) <br>## generics 0.1.0 2020-10-31 [1] CRAN (R 4.0.5) <br>## ggplot2 * 3.3.4 2021-06-16 [1] CRAN (R 4.0.5) <br>## glue 1.4.2 2020-08-27 [1] CRAN (R 4.0.3) <br>## gtable 0.3.0 2019-03-25 [1] CRAN (R 4.0.3) <br>## haven 2.3.1 2020-06-01 [1] CRAN (R 4.0.3) <br>## here * 1.0.1 2020-12-13 [1] CRAN (R 4.0.3) <br>## hms 1.1.0 2021-05-17 [1] CRAN (R 4.0.5) <br>## htmltools 0.5.1.1 2021-01-22 [1] CRAN (R 4.0.5) <br>## httr 1.4.2 2020-07-20 [1] CRAN (R 4.0.3) <br>## janitor * 2.0.1 2020-04-12 [1] CRAN (R 4.0.3) <br>## jquerylib 0.1.4 2021-04-26 [1] CRAN (R 4.0.5) <br>## jsonlite 1.7.2 2020-12-09 [1] CRAN (R 4.0.5) <br>## knitr 1.33.4 2021-05-21 [1] Github (yihui/knitr@a41ca9f) <br>## lattice 0.20-41 2020-04-02 [2] CRAN (R 4.0.3) <br>## lifecycle 1.0.0 2021-02-15 [1] CRAN (R 4.0.5) <br>## lubridate * 1.7.10 2021-02-26 [1] CRAN (R 4.0.5) <br>## magrittr 2.0.1 2020-11-17 [1] CRAN (R 4.0.5) <br>## modelr 0.1.8 2020-05-19 [1] CRAN (R 4.0.3) <br>## munsell 0.5.0 2018-06-12 [1] CRAN (R 4.0.3) <br>## pacman 0.5.1 2019-03-11 [1] CRAN (R 4.0.5) <br>## pillar 1.6.1 2021-05-16 [1] CRAN (R 4.0.5) <br>## pkgconfig 2.0.3 2019-09-22 [1] CRAN (R 4.0.3) <br>## purrr * 0.3.4 2020-04-17 [1] CRAN (R 4.0.3) <br>## R6 2.5.0 2020-10-28 [1] CRAN (R 4.0.5) <br>## Rcpp 1.0.7 2021-07-07 [1] CRAN (R 4.0.5) <br>## readr * 1.4.0 2020-10-05 [1] CRAN (R 4.0.3) <br>## readxl 1.3.1 2019-03-13 [1] CRAN (R 4.0.3) <br>## reprex 0.3.0 2019-05-16 [1] CRAN (R 4.0.3) <br>## rlang 0.4.11 2021-04-30 [1] CRAN (R 4.0.5) <br>## rmarkdown 2.11 2021-09-14 [1] CRAN (R 4.0.3) <br>## rprojroot 2.0.2 2020-11-15 [1] CRAN (R 4.0.3) <br>## rstudioapi 0.13 2020-11-12 [1] CRAN (R 4.0.5) <br>## rvest 1.0.2 2021-10-16 [1] CRAN (R 4.0.5) <br>## sass 0.4.0 2021-05-12 [1] CRAN (R 4.0.5) <br>## scales 1.1.1 2020-05-11 [1] CRAN (R 4.0.3) <br>## sessioninfo * 1.2.1 2021-11-02 [1] CRAN (R 4.0.5) <br>## snakecase 0.11.0 2019-05-25 [1] CRAN (R 4.0.3) <br>## stringi 1.5.3 2020-09-09 [1] CRAN (R 4.0.3) <br>## stringr * 1.4.0 2019-02-10 [1] CRAN (R 4.0.3) <br>## tibble * 3.1.2 2021-05-16 [1] CRAN (R 4.0.5) <br>## tidyr * 1.1.3 2021-03-03 [1] CRAN (R 4.0.5) <br>## tidyselect 1.1.1 2021-04-30 [1] CRAN (R 4.0.5) <br>## tidyverse * 1.3.0 2019-11-21 [1] CRAN (R 4.0.3) <br>## utf8 1.2.1 2021-03-12 [1] CRAN (R 4.0.5) <br>## vctrs 0.3.8 2021-04-29 [1] CRAN (R 4.0.5) <br>## withr 2.4.2 2021-04-18 [1] CRAN (R 4.0.5) <br>## xfun 0.24 2021-06-15 [1] CRAN (R 4.0.5) <br>## xml2 1.3.2 2020-04-23 [1] CRAN (R 4.0.3) <br>## yaml 2.2.1 2020-02-01 [1] CRAN (R 4.0.3) <br>## zoo * 1.8-9 2021-03-09 [1] CRAN (R 4.0.5) </pre><h3>Wrangling data from Canada’s National Lobbyist Registry</h3><h4>Importing .csv files with readr and here</h4><p>As of December 2021, the Federal Liberals still resist calls to release <a href="https://www.theglobeandmail.com/investing/personal-finance/taxes/article-when-it-comes-to-cews-its-your-money-but-none-of-your-business/">detailed data</a> on corporate recipients of the CEWS. However, since companies registered for lobbying activities must disclose any government funding received, some of that data is available through the Office of the Commissioner of Lobbying of Data. In addition to a <a href="https://lobbycanada.gc.ca/app/secure/ocl/lrs/do/guest?lang=eng">searchable database</a>, a full extract of the Lobbyist Registry data can be <a href="https://lobbycanada.gc.ca/en/open-data/">downloaded here</a>.</p><p>The data extract archive contains one primary export and a number of additional linked data in the form of .csv or comma separated value files, one of the most commonly encountered file formats out there. After extracting the files from the .zip archive, they can be imported into your R session using the read_csv() function from the readr package, which is automatically loaded with the tidyverse library. The read_csv function will automatically give a message reporting on the column specifications and any problems (parsing failures) that arise in reading in the data.</p><p>Point read_csv to the location of the file using the file argument in order to read the data in. R can sometimes be fussy with file paths, which is why you should learn to love the <a href="https://github.com/jennybc/here_here">here package</a>. If you are using a project within RStudio as recommended above, calling the function here() will produce an R-friendly file path based on your project&#39;s working directory. Pretty much every time that I need to use a file path in R, I use here to avoid path-related woes.</p><blockquote>If you want to keep the results of your code in memory for further use, you need to assign it to an object with the &lt;- operator.</blockquote><blockquote>So often, the reason for code not working as expected is a forgotten or misused &lt;- assignment.</blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f6d46d6d709488a6e9c36aa83ba39c57/href">https://medium.com/media/f6d46d6d709488a6e9c36aa83ba39c57/href</a></iframe><h4>Catching and dealing with parsing errors</h4><p>When finished reading in the file, readr will automatically print a report on the data types (if this is new to you, it&#39;s worth <a href="https://r4ds.had.co.nz/vectors.html">reading up on R data types</a>) of the table columns and any parsing errors that arise during the data import. All sorts of strange things can happen to the data during the process of importing. Sometimes, the initial product of importing into R will look nothing like the original .csv file at all.</p><p>It’s essential ensure that the data read into R is an accurate representation of the original data. We can inspect the parsing report and the actual data to ensure that it has been imported correctly. Passing the imported data object to the readr::problems() function, you can see a tibble (more on tibbles below) with more information on every parsing issue.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/141bdc762589e38ca2f87aa8701425e4/href">https://medium.com/media/141bdc762589e38ca2f87aa8701425e4/href</a></iframe><pre>## # A tibble: 4,591 x 5 <br>## row col expected actual file <br>## &lt;int&gt; &lt;chr&gt; &lt;chr&gt; &lt;chr&gt; &lt;chr&gt; <br>## 1 50436 END_DATE~ &quot;date lik~ null<br>## 2 55973 END_DATE~ &quot;date lik~ null </pre><p>In this case, it looks like readr was expecting to find dates in the END_DATE_FIN column, but instead found null values. Inspecting the tibble of problems further, this was the only column with a parsing issue.</p><pre>unique(lobby_problems$col)</pre><pre><strong>#</strong><em># [1] &quot;END_DATE_FIN&quot;</em></pre><h4>Dataframes and tibbles</h4><p>It’s wise to look at the original file using something like Excel when parsing issues arise. After looking closely at the original file, we find that the missing dates will not be relevant to the analysis, so the process can continue.</p><p>As part of the <a href="https://www.tidyverse.org/">Tidyverse</a>, read_csv will by default import the contents of the .csv file as a tibble, which is a tidy table, a form of dataframe. Dataframes or tibbles are probably the most common method used to store data in R. You can read more about <a href="https://r4ds.had.co.nz/tibbles.html">tibbles and how the relate to base R dataframes here</a>.</p><h4>Preparing and cleaning the data</h4><p>Now that we have the data properly imported into R, it needs to be cleaned and prepared for further use. Typically, the first step I take in prepping a dataframe is to clean the names of the columns, which are often not suitable by default. This is an important step, because the column names are also the names of the variables within the tibble, so they need to be easy to work with and keep track of.</p><p>The <a href="https://cran.r-project.org/web/packages/janitor/vignettes/janitor.html">amazingly useful janitor package</a> has many convenient functions to automate typical data cleaning and prep tasks, including the clean_names() function, which automatically changes column names into more R and data science friendly versions.</p><p>After cleaning the names up, the next step is to select, and rename if needed, the tibble columns required for further use. We can use dplyr&#39;s select() function, also part of tidyverse, to do just that. By default, select will return just the columns that are used as arguments to the function, in the order that they are called. When renaming tibble columns during selecting, the format is new variable name = old variable name.</p><blockquote>By highlighting your code pressing Ctrl + A, RStudio will automatically format the code block into something neat and tidy like below.</blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/8aad0a20f41cbe2d58fb1ed9659142cd/href">https://medium.com/media/8aad0a20f41cbe2d58fb1ed9659142cd/href</a></iframe><p>Above, we preserve our changes to the data by overwriting the original object with each function call. In order to avoid having to code this way, we can use pipes to work much more efficiently. The pipe operator %&gt;% from the magrittr package, automatically loaded with the tidyverse, carries the output of the function into the first argument of the following function. Doing so, we can chain multiple function calls together under one assignment. If you are new to coding in the Tidyverse, it&#39;s worth checking out this <a href="https://style.tidyverse.org/pipes.html">short primer on using pipes</a>.</p><p>Below, the dplyr::mutate() is used with the base R function as.Date() to convert the date column from character to the date type, then extract the year from the date column using the year() function from the lubridate package. The output of that function is a dataframe with the altered or new columns, which is piped directly into the dplyr::filter() function (you guessed it: also part of the tidyverse) to select only the rows of the data according to the years 2020 and 2021.</p><blockquote>Whenever you want to check for the presence of an object in a vector or list of objects, you can use the %in% operator.</blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2cbc407e79cbd568d1da0e22659e097e/href">https://medium.com/media/2cbc407e79cbd568d1da0e22659e097e/href</a></iframe><p>Now, apply a similar process of importing, inspecting, selecting and renaming, and filtering to prepare the lobby registry data on government subsidy amounts to be joined to the main extract. When using select, columns can be chosen many ways, including by the numerical order of appearance in the data, as below.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/372e1d2b8ba0f79d11c07adb373c1645/href">https://medium.com/media/372e1d2b8ba0f79d11c07adb373c1645/href</a></iframe><p>The parsing failure report when importing the .csv file tells us that there are missing values in the subsidy amount column encoded as the string “null.” Since readr expects this column to be numeric, it automatically parses the strings as NA. Upon closer examination of the resulting tibble, it looks like the only rows with missing values are government ministries, crown corporations, or other public entities. Missing data makes sense, since the government cannot subsidize itself.</p><h4>Filtering a dataframe by a vector of strings</h4><p>The next step is to filter the lobbyist funding tibble to contain only the sources of funding that we are concerned with, in this case, related to the CEWS. Inspecting the original data extract, it seems that some registrations specifically cite some variation of pandemic-related wage subsidy, e.g., “CEWS” or just “Wage subsidy”, while other confirmed CEWS recipients list only the Canada Revenue Agency as their sole source of funding for the year.</p><p>Here is a simple and effective trick to filter a dataframe using a character vector of terms. Simply paste() the list of vectors together using the collapse = &quot;|&quot; argument, which is the regular expression logical OR operator. Using a regular expression denoting all characters after, &quot;.*&quot;, the many different spellings/labels for the CRA, which all start the same way, are picked up in the filter.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e571b6cf817fc8c09d7f54db267c5bcb/href">https://medium.com/media/e571b6cf817fc8c09d7f54db267c5bcb/href</a></iframe><pre>## [1] &quot;Canada Revenue.*|Wage subsidy|CEWS|COVID Wage Subsidy&quot;</pre><p>The pasted vector can be used as the pattern argument to the function str_detect() from stringr within filter to keep only the rows containing terms in the filter. If you wanted to use this method to filter <strong>out</strong> the list of terms, simply add the negate = TRUE argument to the str_detect call.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/608b674f4ff67af9bb1cfff70910ef66/href">https://medium.com/media/608b674f4ff67af9bb1cfff70910ef66/href</a></iframe><h4>Joining dataframes and removing missing values</h4><p>Finally, the main extract from the lobby registry can be merged with the subsidy data. Joining tables together like this is an essential and incredibly common step in the data wrangling work flow. There are many methods for joining or merging data in R, though I find myself using dplyr::join_ functions the most frequently.</p><p>Join functions link dataframes together on the basis of one or more shared variables. Often, as is the case with the Lobby Registry extract, the tables feature a unique ID key that link all of the .csv files together. If you are new to using joins, this <a href="https://rafalab.github.io/dsbook/joining-tables.html">brief chapter on the topic</a> might be useful.</p><p>After joining the main and funding tibbles together, any rows with missing data for the source or amount of subsidy are filtered out by combining the not operator ! with the base R function to detect missing values is.na(). So values of x that are <strong>not</strong> missing would be !is.na(x).</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/53b449bfa6f4d92cf18aa430411ee7f9/href">https://medium.com/media/53b449bfa6f4d92cf18aa430411ee7f9/href</a></iframe><p>Since joins gone awry are a common cause of problems down the road, it’s worth doing some quick checks to make sure the merging went successfully. In this case, we’ll just take a more detailed look at the data using the tibble::view() function.</p><pre>view(lobby_full)</pre><h4>De-duplication of joined tables</h4><p>De-duplication is yet another very common and often tedious data wrangling task, often arising when joins go wrong (or sometimes even when they work as intended). We can see by manually inspecting the data that there are many rows duplicated by company, year, and subsidy amount. The reason for this is that companies can have multiple lobbyists registered on their behalf concurrently and each registrant would report the same subsidy amount.</p><p>First, we’ll standardize the company names to title case using str_to_title from stringr. Following that, two calls to dplyr::distinct() will de-duplicate most of the data, giving us only one relevant row per company. The first call removes duplicate entries referring to the same companies with different names/spellings by their shared phone number. The second call removes the duplicated subsidy rows by company for each year.</p><blockquote>Usually, you will want to keep the rest of your data after de-duplicating. To do so, it’s important to remember to include the .keep_all = TRUE argument to distinct().</blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/77e8d15adf5faeed9a879c2e1cb9768c/href">https://medium.com/media/77e8d15adf5faeed9a879c2e1cb9768c/href</a></iframe><p>Finally, we’ll do a bit more de-duping by creating a vector of corporation names that we didn’t catch with the shared-phone number method, as well as other unwanted rows like non-profit entities, filtering those rows out using the not operator ! and the %in% operator together within the call to filter(). We&#39;ll also remove airports using str_detect and negate = TRUE. Finally, take the top 50 companies by amount of subsidy received with dplyr::slice_max() and select only relavent columns.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4124e8da5d0efadad5f08f33ddfd10ad/href">https://medium.com/media/4124e8da5d0efadad5f08f33ddfd10ad/href</a></iframe><p>Everything appears to be in order. Now would be a good time to save this data externally for future use. The full lobbying data tibble is written to the local disk as an R data file with the extension .rds, again using the write_rds function, which is also from readr.</p><h4>Wrangling summary level CEWS data from the Canada Revenue Agency</h4><p>It’s often the case that in order to do a thorough analysis, one needs to bring together data from multiple sources. We got detailed data on corporate recipients of the CEWS from the National Lobby Registry data. <a href="https://www.canada.ca/en/revenue-agency/services/subsidy/emergency-wage-subsidy/cews-statistics/stats-detailed.html">Summary level data on the CEWS is also available, this time from the Canada Revenue Agency</a>. Looking through the list of tables, we can see they provide data on the disbursement of CEWS by both industry and enterprise size in two different files.</p><p>Below, we read in the .csv for table <a href="https://www.canada.ca/content/dam/cra-arc/serv-info/tax/business/topics/cews/statistics/cews_p1-p19_tbl2_ac_e%60.csv%60">table 2</a>, CEWS by enterprise size, skipping the first line of the csv file to properly situate the header. Inspecting either the original file or dataframe after importing, we can see that some notes that aren&#39;t part of the table have been read in under the claim_period column. That&#39;s what the readr parsing error tells us as well, since the function didn&#39;t find any other columns when it picked up the notes under the table. Drop the notes by filtering for only rows that start with P by using str_detect and the regular expression &quot;^P&quot;, then filter out the total and missing rows from the naics column.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/d43de88dfcb868f7841e44b602f2334d/href">https://medium.com/media/d43de88dfcb868f7841e44b602f2334d/href</a></iframe><h4>Reading files directly from a URL</h4><p>The read_csv function can also read online files directly from a URL. Just supply the URL, instead of a file path on your computer, as the path argument. Below, we download a .csv file containing summary data on the CEWS by industry, read it in as a tibble, clean the column names, select and rename relevant columns, then filter the data.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9d177573e1fba69d3e63093fed069e9f/href">https://medium.com/media/9d177573e1fba69d3e63093fed069e9f/href</a></iframe><h4>Using across() to transform multiple columns</h4><p>Combing over the resulting tibble, it looks like we have some mismatched column types, numbers stored as strings in this case. Data type mishaps are another very common source of bother in data science workflows. Both the percent of total and subsidy amount variables are converted to actual numbers using mutate and as.numeric(). Note that by using across within mutate, the function can be applied to any columns supplied as an argument to across.</p><p>Now that the subsidy amount is treated as a number, we can calculate the percent of the total subsidies received by each firm size with the simple formula x/sum(x). Despite being under 2% of applications, large firms with over 250 employees took in a third of CEW subsidies. Inspect the resulting tibble and if it looks good, save it locally as with the last one.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/eb85826388011c6a014934bf72df189d/href">https://medium.com/media/eb85826388011c6a014934bf72df189d/href</a></iframe><h3>Making creative connections across distant datasets</h3><p>One step in the data wrangling process remains. This is the step that can take a basic analysis to another level: <strong>creatively making connections between different sources of data</strong>. Any two data sets with at least one set of common features can be joined together in some manner. In this case, we have CEWS data by industry according to <a href="https://www23.statcan.gc.ca/imdb/p3VD.pl?Function=getVD&amp;TVD=1181553">NAICS (North American Industry Classification System)</a> codes from the CRA. Due to my prior work in survey research, I was already aware that there is a fair amount of data out there tagged by NAICS code. Searching for other sources of NAICS-level data turned up StatCan tables featuring summary data on corporate quarterly balance sheets. By joining these tables, it’s possible to compare CEWS received to net profits at the industry level.</p><h4>Importing Statistics Canada data with the cansim package</h4><p>For those researching the settler colonial-capitalist entity of Canada, there is an great abundance of open data on a huge number of topics available through Statistics Canada. Using the truly excellent <a href="https://cran.r-project.org/web/packages/cansim/vignettes/cansim.html">cansim package</a>, it’s possible to import StatCan’s CANSIM tables directly into an R session with the get_cansim() function. Below, we read in the <a href="https://www150.statcan.gc.ca/t1/tbl1/en/tv.action?pid=3310022601">industry quarterly balance sheet table</a> by providing the table number as an argument.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b3b9496f68d8c72ee97c0d5b41675a20/href">https://medium.com/media/b3b9496f68d8c72ee97c0d5b41675a20/href</a></iframe><p>From there, we fix up the date by converting from a character to date type, this time using the as.yearmon() function from the zoo package, extract the year from the date object, and then use parse_number() to remove non-digit characters from the column containing the NAICS codes.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2fbdd288dba4152eec510aa4f4a68a7c/href">https://medium.com/media/2fbdd288dba4152eec510aa4f4a68a7c/href</a></iframe><h4>Joining data sets with mismatched key columns</h4><p>Taking a look at the NAICS categories used in both dataframes reveals the major challenge in combining these data sets: the categories are mismatched. The CEWS data from the CRA is aggregated by the 20 major NAICS groups, while the quarterly balance sheets are disaggregated by industry with dozens of categories. As is, it’s impossible for these tables to be fully combined.</p><pre>list(unique(cews_naics$naics), unique(profits_naics$naics))</pre><h4>Recoding many variable levels with case_when</h4><p>However, using the inherent hierarchy of the NAICS numerical codes, it’s possible to aggregate the many NAICS categories from the balance sheet data into the 20 major categories used in the other data. First off, looking at the balance sheet tibble, notice that several industries already have the major group numeric code in the column naics_code. Joining on those values should be no problem.</p><p>Aggregating the industries without the pre-existing numeric NAICS codes will be a bit trickier. If I only have to do it a few times in a project, I like to use a vector of unique values as a lookup along with mutate and case_when from dplyr to solve this problem. First, isolate a list of industries with missing code data.</p><blockquote>If you need to extract a specific tibble column from a series of piped calls, use . to return the whole tibble object, then subset it (using $ in this case) to access the column, like below.</blockquote><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/94e65e065c4d5d5069805bc364e5fa22/href">https://medium.com/media/94e65e065c4d5d5069805bc364e5fa22/href</a></iframe><p>By using inds as a look-up vector within mutate and case_when, it&#39;s possible to do complex recoding of data columns. Going down the vector of NAICS sectors sequentially, I am subsetting the vector inds with the base R subsetting operator [ and using the %in% operator for multiple NAICS groups and using ~ to assign the corresponding NAICS major group code as the value, which is <a href="https://www23.statcan.gc.ca/imdb/p3VD.pl?Function=getVD&amp;TVD=1181553">easily looked up online</a>.</p><p>Note that it’s important to include TRUE ~ as.character(naics_code) as the final argument to case_when in order to leave the rest of the data that isn’t being re-coded as it is. Additionally, remember that anything that changes the order of the vector of industry names will break this, since the industries are referenced by numerical index inds[n] and not name.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6590d309a40b5764ed45dcea59eeebbe/href">https://medium.com/media/6590d309a40b5764ed45dcea59eeebbe/href</a></iframe><p>NAICS has a hierarchal structure, so the first digit is always the broad industry group, the second is always the major group, and so on. Now we can break down the NAICS codes into a root, major group, and subgroup code, using mutate and stringr::substr() to create a new column for each.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/801cf17f535b8cc7458f90920e947cc7/href">https://medium.com/media/801cf17f535b8cc7458f90920e947cc7/href</a></iframe><p>Now that were joining on the numerical NAICS codes, we’ll also need to touch up the CEWS summary-level data with some regular expressions. Industry codes as numbers are extracted from naics using str_extract() and the regular expression for digits, while the text description of the industry is extracted using the regular expression for letters.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b90cc65f0e8eccd4774d6522babf8709/href">https://medium.com/media/b90cc65f0e8eccd4774d6522babf8709/href</a></iframe><h4>Finally: Joining the CEWS and balance sheet data</h4><p>The data is almost ready for joining. Once again, case_when is used to create a final column of text labels to join the two tables by and also serve as the shortened industry labels in the data visualizations. Filter out any rows with a missing NAICS code.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e22c9c88370f58044d69fe053cbe9659/href">https://medium.com/media/e22c9c88370f58044d69fe053cbe9659/href</a></iframe><p>Do the exact same procedure to the CEWS by industry summary data. If this was something one had to do more than twice, it would be worth writing a custom function to do this more efficiently. A topic for another day.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0a5b284202bdf22d4cad4847e860a66a/href">https://medium.com/media/0a5b284202bdf22d4cad4847e860a66a/href</a></iframe><h4>Grouping and summarizing data</h4><p>Now, both data sets have a common column, naics_final that they can be joined on. Since both data are provided at different sub-yearly intervals (monthly versus quarterly), we&#39;ll have to summarize both tables by year before joining them together. Grouping and summarizing data is an essential skill required for most data science projects. Using R, data can be grouped with dplyr::group_by(), allowing most operations on grouped dataframes to be applied to the chosen groups. Use dplyr::summarize() with group_by() in order to aggregate data according to the specified function, in this case, using sum(x, na.rm = TRUE) to get the total yearly subsidy and profit amounts for each industry.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/96a528f27cb64366a734e05884e81cbd/href">https://medium.com/media/96a528f27cb64366a734e05884e81cbd/href</a></iframe><p>At long last, we can join the CEWS and quarterly profit data together!</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1a01cf2e4742501f77b5a991e613a240/href">https://medium.com/media/1a01cf2e4742501f77b5a991e613a240/href</a></iframe><p>Last, but not least, there are a few quick calculations to make before saving the data for visualization. The dollar units of profit and subsidy are out of sync, the former is in millions of dollars, while the latter is in just dollars. We can remedy this by multiplying net_profits by 10 to the power of 6. We can then calculate what percent of net profits each industry took in from the CEWS by dividing the subsidy by net profits.</p><p>Finally, convert naics_final to a factor, use fct_reorder() from forcats to set the factor levels in descending order of the subsidy amount (for visualization purposes), arrange the dataframe in the same order. To finish, filter out the finance and insurance sector, which took in very little of CEWS, but got a massive bailout by other means from the Canadian government. Finish by saving the object for visualization. After inspecting the final dataframe, write it for future use like the others. In the next post, I will show how to turn the R data objects saved during this lesson into the <a href="http://localhost:4321/post/cews-a-scandalous-gift-to-capital/">data visualizations featured in the story</a>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/a2f36bf3786f966b1cf3a7a19fdad478/href">https://medium.com/media/a2f36bf3786f966b1cf3a7a19fdad478/href</a></iframe><p><em>Originally published at </em><a href="https://ds4cs.netlify.app/post/data-wrangling-for-the-left-checking-in-on-the-canada-emergency-wage-subsidy/"><em>https://ds4cs.netlify.app</em></a><em> on December 1, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dfa3eeb550b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Canadian Fossil-Capitalism’s Hot Mess of Climate Contradictions (Part Two)]]></title>
            <link>https://ds4cs.medium.com/canadian-fossil-capitalisms-hot-mess-of-climate-contradictions-part-two-61c1c7cb61e1?source=rss-641d5da6acaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/61c1c7cb61e1</guid>
            <category><![CDATA[socialism]]></category>
            <category><![CDATA[climate-change]]></category>
            <category><![CDATA[canada]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[environment]]></category>
            <dc:creator><![CDATA[Data Science for Class Struggle]]></dc:creator>
            <pubDate>Fri, 23 Jul 2021 00:00:00 GMT</pubDate>
            <atom:updated>2021-12-08T04:25:36.212Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KhGjyzBk6ZkSlHYN3m_ruw.jpeg" /></figure><h3>The Green Paradox of Canadian Climate Capitalism</h3><p>The writing is on the wall for either fossil capitalism or humanity. <a href="https://climateanalytics.org/publications/2019/zero-in-on-the-remaining-carbon-budget-and-decadal-warming-rates">Nine hundred and eighty billion tonnes of CO₂</a> from 2020 onward stands between us and the best chance of preventing more than an already catastrophic two degree rise in average global temperatures. Foreseeing the pending demise of their doomed industry, fossil capitalists that are heavily invested in oil and gas are compelled to produce and sell as much of their deadly products while it is still viable to do so. The resulting increase in supply pushes oil and gas prices lower, which can in turn increase demand for fossil power- a depraved dynamic of capitalism known as the <a href="https://mitpress.mit.edu/books/green-paradox">“green paradox”</a> of climate policy.</p><p>Part one of this series dealt with the <a href="https://ds4cs.netlify.app/post/canadian-fossil-capitalism-s-climate-contradictions/">insidious role that fossil capital plays in Canadian capitalism</a> and the inadequacy of the government’s short-term climate plans in keeping to a fair share of the world carbon budget with the best chance of preventing 1.5°C of warming. Drawing primarily on projections from the Canada Energy Regulator’s 2020 <a href="https://www.cer-rec.gc.ca/en/data-analysis/canada-energy-future/2020/results/index.html">report on the future of Canada’s energy sector</a>, this analysis provides a longer-term view of the Canadian government’s climate and energy plans through to 2050.</p><p>The impossible climate balancing act of the Canadian state exemplifies the Green Paradox of market-based climate policies, simultaneously promising (1) <a href="https://pm.gc.ca/en/news/news-releases/2021/04/22/prime-minister-trudeau-announces-increased-climate-ambition">“bold climate action”</a> and <a href="https://www.canada.ca/en/services/environment/weather/climatechange/climate-plan/net-zero-emissions-2050.html">“net zero emissions”</a> by 2050, while (2) committing fully to an economic strategy of massive subsidy and support for oil and gas, urging fossil capitalists to produce and export as much fossil fuels as possible for at least the next three decades.</p><h4>Net Zero by 2050 for Canada is a woefully inadequate goal</h4><p>Some climate experts insist that if the world if to prevent catastrophic warming, the remaining limit for GHG emissions for the entire world needs to be budgeted for each nation, at the very least, in <a href="https://thenarwhal.ca/carbon-budget-canada-emissions-explainer/">proportion to their share of the world population</a>. If wealthy, industrialized nations, especially those that are major producers of fossil fuels, use up vastly oversized portions of the global carbon budget, there will be no room left for the nations that make up the majority of the world population to make the investments required to sustainably develop and decarbonize their economies.</p><p>In typical Liberal fashion, two years after adopting a policy of net zero by 2050, the Trudeau Government has still not produced an actual plan to achieve this goal featuring targets or projections. In the absence real long-term emissions targets or projections to use as data, I have estimated a reasonable path to zero emissions by using current emissions data and the upper bound of the <a href="https://www.cbc.ca/news/politics/trudeau-climate-emissions-40-per-cent-1.5997613">newly established emissions target</a> of 428 to 465 million tonnes per year by 2030. Choosing the upper bound of the 2030 target is reasonable, since Canada has <strong>never</strong> actually <a href="https://ecojustice.ca/canada-needs-climate-accountability-act/">met a GHG emissions reduction target</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Md97_8R_7G_UCzyiT3XlIQ.png" /></figure><p>Adding up Canada’s cumulative emissions in a net-zero from 2020 to 2050 scenario makes it clear that net zero by 2050 is a vastly under-ambitious target. Canada’s fair share of a global carbon budget with the best chance of preventing 1.5°C of warming, just 1.1 billion tonnes, will be eclipsed as early as the mid-2020s. Even reaching net zero by 2050, total emissions over that span are 10.8 billion tonnes of CO₂, more than twice Canada’s fair share of a world carbon budget with the best chance of preventing 2.0°C of warming at 4.7 billion tonnes. And that is putting aside the incredibly dubious math behind the Canadian state’s version of <a href="https://www.pembina.org/media-release/canadas-net-zero-math-doesnt-add">“net zero”</a> that renders real emissions invisible through climate accounting tricks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*7ae67NGaZu8THDvcdjDJdQ.png" /></figure><h3>Canadian capitalism goes all in on fossil fuels</h3><p>In the words of a leading oil industry astroturf advocacy group, the world desperately <a href="https://www.canadaaction.ca/why-the-world-needs-more-canadian-oil">“needs more Canadian oil”</a> to fill rising energy needs, calling for decades of vastly increased investment in Canadian oil and gas. The governing Trudeau Liberals, as well as all of the various provincial governments, are throwing the full weight of the Canadian state into the service of the fossil fuel industry. All levels of government have provided over <a href="https://www.iisd.org/publications/oil-gas-pipelines-green-recovery-canada">$23 billion in public funds to support oil and gas pipelines alone</a> since 2018, in addition to the <a href="https://www.iisd.org/articles/unpacking-canadas-fossil-fuel-subsidies-faq">multi-billion dollar subsidies</a> the fossil fuel industry receives each year.</p><p>As detailed in <a href="https://ds4cs.netlify.app/post/canadian-fossil-capitalism-s-climate-contradictions/">part one</a>, much of this dynamic is driven by fossil fuel energy’s status as Canada’s most valuable export goods and therefore an indispensable source of foreign exchange for Canada. Export Development Canada, an agency that provided over <a href="https://www.iisd.org/publications/risking-it-all-how-export-development-canadas-support-fossil-fuels-drives-climate">twelve times as much funding for the oil and gas industries as clean technologies</a> from 2012 to 2017, has been singled out by legal experts as <a href="https://aboveground.ngo/export-credit-agencies-and-states-potentially-at-risk-of-climate-litigation-over-finance-for-fossil-fuels">especially vulnerable to international lawsuits</a> for it’s <a href="https://environmentaldefence.ca/2020/05/27/meet-export-development-canada-secretive-crown-agency-financing-big-oil-bailout/">over the top support</a> for fossil fuel expansion.</p><h4>Canada’s Energy Future: Fossil fuel projections for 2020–2050</h4><p>In 2020, Canada’s Energy Regulator, the federal agency responsible for inter-provincial and international oil, gas, and energy utilities released a report featuring projections for Canada’s oil, gas, pipeline, and electricity sectors from 2020 through to 2050. The CER modeled two scenarios:</p><ul><li>A <strong>reference scenario</strong> that assumes (1) no further GHG emission reduction measures are taken beyond what is currently in place; (2) stronger and sustained demand and prices for fossil fuels on world markets; and that (3) low carbon technologies advance, but at a slow pace.</li><li>An <strong>evolving scenario</strong> that assumes (1) a rising trend of stronger climate policies as the world moves away from fossil fuels; (2) lower demand and prices for fossil fuels on world markets; and (3) significant increases in the pace of developing low carbon technology.</li></ul><p>In the evolving scenario of more strident actions to cut emissions, declining prices, and rapid adoption of alternative clean technologies, the Green Paradox of Canadian fossil capitalism is in full display. In an increasingly decarbonizing world, Canadian oil production is projected to grow steadily for the next two decades. Most of that increased production comes from intensified and expanded tar sands operations, which are <a href="https://www.reuters.com/article/us-canada-crude-idUSKBN29B2N8">already hitting an all time high of production in 2021</a>.</p><p>Decades of immense up-front capital investment, especially in highly <a href="https://www.parklandinstitute.ca/media_oil_sands_spending_and_productivity_figures_indicate_majority_of_lost_jobs_not_likely_to_return">productive new labour saving technologies</a>, have granted the major Canadian tar sands firms substantial cost advantages. An <a href="https://cdn.sei.org/wp-content/uploads/2018/05/confronting-carbon-lock-canadas-oil-sands.pdf">analysis by the Stockholm Environment Institute</a> found in 2018 that the productivity advantages of currently producing Alberta oil sands operations greatly insulate them from decreases in oil prices, with a break-even point of just $40 to $50 USD per barrel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cfuzFveOTijRgbbRdBj82w.png" /></figure><p>Knowing that Canada’s major oil sands operations are shielded from low oil prices, politicians, bureaucrats, and corporate executives alike are making a massive gamble that they will be able to take advantage of the decline in world oil prices due to the decarbonization efforts of the world. As the price of oil declines and cheap fossil energy grows more appealing to willing buyers, those well-positioned to sell large amounts of cheap oil may be able to gain substantial profits before their colossal investments are stranded by decarbonization.</p><p>Empty rhetoric from <a href="https://www.theguardian.com/environment/2021/jun/22/biden-climate-change-plan-environment">President Biden</a> on climate action notwithstanding, consumption of both oil and natural gas in the United States is <a href="https://www.ogj.com/general-interest/economics-markets/article/14196845/aeo2021-petroleum-remains-mostconsumed-fuel-in-us-before-2050">expected to rise gradually</a> from 2020 to 2050 under climate measures currently in place. In that time frame, the CER predicts that the Canadian oil industry will produce over <strong>60 billion barrels of oil</strong>, with tar sands operations making up most of the expanded production. Keep in mind that this is the <strong>low demand</strong> scenario, where prices decline as fossil fuels grow less important to the world economy. As Canadian domestic demand for oil is projected to steadily decline through 2050, almost all of that expanded production is for export, mainly to fuel industry in the US.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*uC_w-EPhLWBm-u87VXN8XQ.png" /></figure><h3>The roots of Canadian capitalism’s pipeline obsession</h3><p>Expanding pipeline capacity for oil and gas is a crucial part of fossil capital’s 21st Century strategy. Pipelines play a dual role, allowing fossil capitalists to hedge their bets and prepare for either a high or low fossil fuel demand future. The chart below plots the estimated supply of crude oil for export against existing and future pipeline capacity.</p><p>In the <strong>reference scenario</strong>, where climate policies fail and oil prices and demand remain high, both the expanded TMX and Keystone XL pipelines will be needed to handle the added demand for Canadian oil exports. In the <strong>evolving scenario</strong>, where stronger climate policies lead to lower prices and demand for oil, neither pipeline would be <a href="https://biv.com/article/2020/11/alberta-might-not-need-three-pipelines-cer">needed to absorb the supply oil available for export</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jFfD39T6Bf57ljIaa8RrpQ.png" /></figure><h4>Pipelines keep Canadian oil and gas on life support in a decarbonizing world</h4><p>In the fossil capitalist’s ideal future of sustained demand for fossil fuels, the added pipeline capacity from current or recently canceled projects would be necessary for them to reap maximum economic benefit by selling as much fossil energy as possible while the world goes up in flames. So in that regard, new and expanded pipelines are a huge gamble on a favourable economic outlook for fossil fuels, despite the dire consequences for humanity and planetary ecology.</p><p>The pipeline agenda is also a way for fossil capitalist to hedge their bets against a much more likely <strong>evolving scenario</strong> that sees stronger climate action and declining global fossil fuel demand. In this situation, the extra pipeline capacity will help to insulate Canada’s fossil fuel industry against declining prices and set Canada up as an exporter of cheap fossil energy for several decades. According to a 2020 report by the SEI on the economics of oil sands lock-in, due to the small margins on low cost oil sands production, the low-price resiliency of Canada’s major oil sands operations depends to a large degree on <a href="https://www.sei.org/wp-content/uploads/2020/06/examining-risks-of-new-oil-and-gas-production-in-canada.pdf">greater market access and lower transport costs</a>, which requires pipeline expansion.</p><p>Buyers of Canadian tar sands production typically get a major discount, due to the slow speed and high costs of transportation and lower quality compared to conventional light oil. According to the SEI, major producers that can upgrade their product in Canada face a smaller discount of $5 to $8 per barrel, while most other producers lose out on $15 to $23 a barrel. Expanding market access to both the US (where 98% of tar sands exports go currently) and international markets by building pipelines is one way of <a href="https://www.oilsandsmagazine.com/market-insights/crude-oil-pricing-differentials-why-alberta-crude-sells-at-deep-discount-to-wti">reducing the hefty discounts paid for Canadian oil</a>, especially Albertan heavy crude, which accounts for the vast majority of exports to the US.</p><p>Reducing the discount on Canadian oil will boost the currently slim per-barrel profit margins on low cost oil sands production, greatly assisting the oil industry in remaining competitive in a low oil price future. New and expanded pipelines are therefore intended to <strong>keep Canadian fossil capital afloat as the world moves on from fossil fuels</strong>. Ensuring that Canada can reap the <a href="https://en.wikipedia.org/wiki/Green_paradox">“double advantage”</a> of the rogue petro-state that eats the GHG reductions of other more responsible nations- this is the root of the Canadian capitalism’s pipeline obsession.</p><p>It’s why both <a href="https://twitter.com/JustinTrudeau/status/985591028559368192">Justin Trudeau</a> and now disgraced former finance minister <a href="https://www.macleans.ca/politics/ottawa/why-morneau-decided-to-buy-a-pipeline-and-hopes-to-sell-it-again-soon/">Bill Morneau</a> cited “vital” strategic and national interest to justify the unconscionable purchase of the TMX pipeline. It’s why Jason Kenney and Justin Trudeau have been able to find <a href="https://calgaryherald.com/opinion/columnists/varcoe-kenney-and-trudeau-find-a-sliver-of-common-ground-on-pipelines-for-now">common cause in fighting for the cancelled Keystone XL pipeline</a>. It’s also why the supposedly social democratic government of John Horgan is so eager to <a href="https://www.cbc.ca/news/canada/british-columbia/lng-pipeline-horgan-british-columbia-1.5425745">ram through natural gas megaprojects</a>, including the highly controversial <a href="https://www.cbc.ca/news/canada/british-columbia/coastal-gaslink-pipeline-bc-wet-suwet-en-pandemic-1.5898219">Coastal GasLink Pipeline</a>, in violent violation of Indigenous sovereignty, that will almost entirely <a href="https://www.policyalternatives.ca/bc-carbon-conundrum">demolish the province’s GHG emissions targets</a>.</p><h4>Canada’s climate strategy: export our emissions somewhere else, let them worry about it</h4><p>How can the Canadian petro-state reconcile the massive contradiction between planning to expand fossil fuels for decades and the need to meet Canada’s climate obligations? Unfortunately, it’s resolved mostly through a cheap climate accounting deception, in that <strong>emissions from combustion of exported fossil fuels are not counted</strong> against Canada’s GHG inventory. Canadian companies can produce as much oil and gas as they can and so long as it is sold outside of Canada, the vast majority of the emissions are a problem for somebody else to deal with.</p><p>When tar sands bitumen is refined and upgraded into synthetic crude oil, it releases basically the same amount of CO₂ as regular crude oil, around 400kg to 450kg per barrel. Currently, about 98% of Canadian tar sands exports go to the US, where it is, if not already done, refined and upgraded, then eventually burned. The vast majority of expanded fossil production over the next two decades will be tar sands oil intended for export and therefore <em>won’t be counted in Canada’s GHG accounting</em> beyond the impact of production. Therefore, the total amount of <a href="https://www.parklandinstitute.ca/extracted_carbon">carbon extracted by Canadian oil and gas companies</a> is intentionally under counted by a vast amount.</p><p>Using the CER’s projections for the supply available for export, the chart below shows the potential emissions if (as the fossil capitalists no doubt desire) the maximum possible amount of tar sands oil is exported to and burned in the United States. Even with significant reductions in GHG emissions from tar sands production (the part counted in Canada) due to technological advancement, only a very small portion of the overall climate impact will be counted against Canada’s GHG inventory, just 13% of the grand total of 20 billion tonnes of CO₂ by 2050. That figure still under counts the total emissions of tar sands exports to the US, since a large amount of it is bitumen or heavy oil that requires further refining and upgrading upon arrival, which is itself a <a href="https://iopscience.iop.org/article/10.1088/1748-9326/4/1/014005/pdf">highly energy and carbon intensive</a> process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6d7xh-TJ9A8-J_utgqNYVA.png" /></figure><p>Assuming that Canadian companies would be able to export the <strong>maximum available supply</strong> of tar sands oil available for export projected by the CER, Canada’s exported carbon emissions would more than double domestic emissions. In this scenario of max oil exports, one which fossil capital will certainly attempt to accomplish, even if net zero by 2050 is actually accomplished Canada’s combined CO₂ emissions of 28Gt could consume over <strong>12% of the world’s remaining carbon budget</strong> with the best chance of preventing 1.5°C warming.</p><p>And this would still be under-counting Canda’s role in the climate crisis, since it doesn’t include emissions from combustion of exported conventional oil or natural gas. Nor does it count the impact of greenhouse gasses like <a href="https://environmentaldefence.ca/report/canadas-methane-gas-problem/">methane</a> or the collapse of <a href="https://www.nationalobserver.com/2021/05/07/news/canada-carbon-sink-managed-forests-circling-drain.">Canadian forests as a carbon sink</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*GAtoBtzX6iVNCYbghFvBSw.png" /></figure><p>If Canadian petro-capitalists are able to make the best of (from their perspective) a bad situation, taking advantage of decarbonization to export massive amounts of cheap fossil energy to fuel industry all over the world, it would be truly catastrophic to the climate and a great crime against all of the successive generations humanity.</p><p>The chart below demonstrates how important it is that nations like Canada stick to an equitable share of the global carbon budget. If the combustion of Canada’s maximum tar sands oil exports is added on to domestic emissions, even if genuine net-zero is reached by 2050, Canada will emit about two thirds as much CO₂ as Brazil by mid-century. Under this scenario, a nation of just 46 million people, about 0.5% of the world population, will be responsible for emitting almost as much CO₂ as a nation projected to have a population of 230 million people by 2050. Colombia, on the other hand, a country with a similar population to Canada, will be responsible for only 5 billion tonnes of CO₂ emissions by 2050, just 18% of Canada’s emissions during that time frame.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZkA-syCvQInyPlfcTweOAg.png" /></figure><h4>Next up in the series</h4><p>If the few wealthy, oil and gas producing nations like Canada behave in such a reckless manner, exhausting greatly oversized portions of the global carbon budget, climate catastrophe is virtually guaranteed. At present, there is no mainstream political party or leader in Canada offering anything close to an ambitious enough vision for decarbonizing Canada’s economy. That’s probably because such a far reaching, rapid transition is virtually unthinkable outside of a rationally planned eco-socialist transformation of Canadian industry and infrastructure. In the next post in this series, I’ll start exploring the prospects for such a planned socialist transition away from fossil capitalism.</p><h3>Data sources</h3><ul><li><a href="http://calculadora2050brasil.epe.gov.br/">Carbon Calculator 2050, Brazil. Accessed July 2021. Empresa da Pesquisa Energética.</a></li><li><a href="https://calculadora2050.minambiente.gov.co/en">Carbon 2050 Calculator, Colombia. Accessed July 2021. Ministerio de Ambiente y Desarrollo Sostenible.</a></li><li><a href="https://www.cer-rec.gc.ca/en/data-analysis/canada-energy-future/2020/index.html">CER. 2020. Canada’s Energy Future 2020: Energy supply and demand projections until 2050. Canada Energy Regulator.</a></li><li><a href="https://climateactiontracker.org/countries/canada/">Climate Action Tracker. Accessed July 2021. Country Report on Canada.</a></li><li><a href="https://www.epa.gov/sites/default/files/2020-04/documents/ghg-emission-factors-hub.pdf">EPA. 2020. Emissions Factors for Greenhouse Gas Inventories. Environmental Protection Agency.</a></li><li><a href="https://population.un.org/wpp/Download/Standard/Population/">UNPD. 2019. World Population Projections 2019. United Nations Population Division.</a></li></ul><p><em>Originally published at </em><a href="https://ds4cs.netlify.app/post/canadian-fossil-capitalism-s-climate-contradictions-part-2/"><em>https://ds4cs.netlify.app</em></a><em> on July 23, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=61c1c7cb61e1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Canadian Capitalism’s Hot Mess of Climate Contradictions (Part 1)]]></title>
            <link>https://ds4cs.medium.com/canadian-capitalisms-hot-mess-of-climate-contradictions-part-1-6b19baf62f1e?source=rss-641d5da6acaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/6b19baf62f1e</guid>
            <category><![CDATA[canada]]></category>
            <category><![CDATA[climate-change]]></category>
            <category><![CDATA[socialism]]></category>
            <category><![CDATA[environment]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Data Science for Class Struggle]]></dc:creator>
            <pubDate>Tue, 06 Jul 2021 00:00:00 GMT</pubDate>
            <atom:updated>2021-11-29T20:35:04.364Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VwIkwDM6gn8iTpsPZtF2ew.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@robin_sommer?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Robin Sommer</a> on <a href="https://unsplash.com/?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Have you ever wondered why Canada exists as such a tangle of climate contradictions? We’re talking about a nation that is consistently a <a href="https://worldpopulationreview.com/country-rankings/co2-emissions-by-country">top 10 greenhouse gas emitter</a> in the world, despite having under 0.5% of the global population. One that has literally <a href="https://ecojustice.ca/canada-needs-climate-accountability-act/">never met a greenhouse gas emissions reduction target</a>, even though all of those targets were woefully inadequate to begin with. A country that passed a law declaring a climate national emergency, yet has <a href="https://simondonner.com/2019/09/27/canadas-climate-plans/">no mainstream political party or leader</a> able to offer an adequate climate plan. Canada faces <a href="https://changingclimate.ca/site/assets/uploads/sites/3/2021/05/National-Issues-Report_Final_EN.pdf">extreme risks</a> due to warming at twice the rate of the world average, yet is expected to add <a href="https://www.forbes.com/sites/judeclemente/2019/10/09/canada-to-add-nearly-25-of-new-global-crude-oil-supply/?sh=78a661467ce5">25% of the world’s new crude oil production</a> through to 2050. What can possibly explain this state of affairs? And what do those insights tell us about how to solve the problem?</p><p>This is the first in a series of posts on Canadian capitalism’s climate contradictions and Canada’s massively oversized role in driving the climate crisis. In this initial analysis, I examine the role of the fossil fuel industry in Canadian capitalism, which is paradoxically a sector that is moderately sized and declining as a share of the economy, yet also dominant in other regards. Fossil capital exercises considerable economic and political clout in Canada because it has been an extremely important site for new investment, commands huge amounts of capital, and produces the nation’s most important trade goods.</p><h3>The political economy of Canadian fossil capitalism</h3><p>Canada has the <a href="https://www.nrcan.gc.ca/science-data/data-analysis/energy-data-analysis/energy-facts/crude-oil-facts/20064">third largest proven oil reserves</a> in the world and is a top producer and exporter of fossil fuels. As such, one might expect the sector to account for a very large share of the Canadian economy. In terms of the economic value of output, the energy industry is significant, but far from dominant, accounting for 9 to 10% of Canada’s gross domestic product from 2000 onward. In 2020, the value of energy sector production was about $180B, just a few billion less than the manufacturing sector. An important industry, accounting for about a tenth of the economy, but certainly not enough to explain it’s outsized political and economic power. The long-term trend is a slow, gradual decline of the energy sector as a portion of Canada’s economy, despite over a <a href="https://www150.statcan.gc.ca/n1/pub/16-002-x/2016002/article/14629-eng.htm">decade of increasing production</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*cxcd5_z328ZwzQbtwMdkyw.png" /></figure><p>The long reach of fossil fuels in politics seems impossible to evade within the confines of Canadian settler-capitalism. Moving on from the outright denialism of the Harper era, the ruling Trudeau Liberals have at the very least recognized both the <a href="https://globalnews.ca/news/5401586/canada-national-climate-emergency/">obvious urgency of the climate crisis</a> and rising <a href="https://www.newswire.ca/news-releases/climate-change-considered-the-most-extreme-issue-canada-currently-faces-despite-unprecedented-economic-and-employment-uncertainties-due-to-pandemic-reveals-a-new-study-843045267.html">popular demands for climate action</a>, especially among <a href="https://www.saanichnews.com/news/university-of-victoria-study-gauges-young-canadians-opinions-on-climate-energy-policy/">young people</a> as they watch their future being burned for profit. In an ultimate display of cynicism, the governing Liberals talk about the need for <a href="https://pm.gc.ca/en/news/news-releases/2021/04/22/prime-minister-trudeau-announces-increased-climate-ambition">“bold action”</a> on the climate crisis in one breath and plan for <a href="https://www.cer-rec.gc.ca/en/data-analysis/canada-energy-future/2020/index.html">decades of expansion of fossil fuel production</a> and allot <a href="https://www.cbc.ca/news/politics/iisd-pipelines-subsidies-fossil-fuels-1.6090871">tens of billions in public funds for pipeline construction</a> in the next. On the other hand, Canadian <a href="https://www.thestar.com/politics/federal/2020/01/23/should-bc-build-a-new-natural-gas-pipeline-dont-ask-jagmeet-singh.html">social democrats</a>, especially those <a href="https://www.cbc.ca/news/opinion/road-ahead-jen-gerson-alberta-versus-bc-pipeline-fight-1.4517400">in power at the provincial level</a>, and even the <a href="https://www.cbc.ca/radio/asithappens/as-it-happens-thursday-edition-1.5155786/elizabeth-may-wants-to-only-use-canadian-oil-a-plan-quebec-s-green-party-leader-can-t-support-1.5155814">so-called Green party</a>, have a <a href="https://thenarwhal.ca/fact-check-b-c-s-lng-climate-goals/">relationship to fossil fuels</a> that is <a href="https://daveberta.ca/2021/06/heather-eddy-running-for-ndp-nomination-in-calgary-klein/">fraught</a> to say the least.</p><h3>Fossil fuel industry vital to Canadian capitalism’s need for investment</h3><p>Fossil fuel and energy production industries have very high levels of capital intensity. It takes hugely expensive, long-term investments to extract, refine, and transport fossil fuels. Oil sands in particular, which account for the vast majority of Canadian oil reserves, are <a href="https://www.rystadenergy.com/newsevents/news/press-releases/Rystad-Energy-ranks-the-cheapest-sources-of-supply-in-the-oil-industry-/">notoriously expensive to produce</a> compared to other sources of oil. Thus the energy sector’s importance as a fix for investment in the Canadian economy has been greatly inflated relative to it’s share of production, with energy assets in Canada <a href="https://www.nrcan.gc.ca/science-data/data-analysis/energy-data-analysis/energy-facts/energy-and-economy/20062">valued at over $452B</a> in 2018.</p><p>Oil and gas extraction alone (not the energy sector as a whole), with production valued at around 4% to 5% of GDP, accounted for over a fifth of all capital investment during the early 21st Century oil boom years. Due to the capital intensity inherent in fossil fuel production, the sector has become a major nexus of capital accumulation in Canadian capitalism, conferring the considerable economic and political power of big capital. Fed by the huge flow of capital into the industry, a <a href="https://mronline.org/2020/03/06/from-fossil-capitalism-to-energy-democracy/">powerful network of fossil-capitalists</a> has developed, situated primarily in Alberta, that link up via ownership and interlocking directories with Canada’s major financial institutions and corporate players, as well as with international capitalists, especially US based banks.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*PFQWQmBFBl6fQK_m9Km2Bg.png" /></figure><p>The fossil fuel capitalists and their allies in related industries have coalesced into what sociologist William K. Carroll refers to as a <a href="https://read.aupress.ca/read/regime-of-obstruction/section/994351a1-641c-4499-8441-dec6359c43d3">“regime of obstruction”</a> aimed at protecting the centrality of fossil capital in the Canadian economy. Fossil capital has <a href="https://read.aupress.ca/read/regime-of-obstruction/section/3818eb82-1a87-43c8-b0ba-cdd09be6b1d6">invested considerably in a nation-wide network</a> of industry-aligned advocacy groups, think tanks, and research institutes, as well as <a href="https://thenarwhal.ca/canada-action-received-100-thousand-from-arc-resources/">pro-oil astro-turf groups</a> in civil society. Even worse, fossil fuels are one of the most <a href="https://www.policyalternatives.ca/publications/reports/big-oil%E2%80%99s-political-reach">active and effective industries</a> at influencing government through political lobbying, with consistent, intensive influence operations targeted at a small number of high level elected officials and unelected bureaucrats.</p><h3>Importance of fossil fuels employment is greatly overstated</h3><p>Since the end of the oil boom, employment in fossil fuels has been slowly declining. The oil and gas labour force peaked at over 230 thousand workers in 2014, down to 186 thousand by 2020, fewer jobs in the industry than in 2010. Given that <a href="https://www.parklandinstitute.ca/media_oil_sands_spending_and_productivity_figures_indicate_majority_of_lost_jobs_not_likely_to_return">improvements in labour productivity in oil and gas</a> have been greatly outpacing most other Canadian industries, significant expansion of employment in the sector is <a href="https://www.parklandinstitute.ca/the_future_of_albertas_oil_sands_industry">unlikely to occur</a> even with further development of oil and gas resources.</p><p>Taking into account those who are employed indirectly by the fossil fuels industry in other sectors (a figure often <a href="https://www.canadianenergycentre.ca/fueling-canadas-economy-how-canadas-oil-and-gas-industry-compares-to-other-major-sectors/">inflated by industry lobbyists</a> for political purposes) the employment impact is somewhat higher, but still overall a small portion of overall employment. Certainly, it is a share of national employment so small that a <a href="https://centreforfuturework.ca/wp-content/uploads/2021/01/Employment-Transitions-Report-Final.pdf">managed phase out of fossil fuel employment</a> could be accomplished mostly through voluntary attrition and retirement.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*goG240VAbvx4xEPG_P9A3Q.png" /></figure><h3>Canadian banks throw fuel on the fire, seeking to profit from the climate crisis</h3><p>Canadian finance capital grew up financing colonial resource extraction from the very start. Consequently, Canadian banks have specialized in financing resource extraction both domestically and around the world. The Toronto Stock Exchange has grown into one of the <a href="https://energy.tsx.com/">most important exchanges for raising fossil fuel, energy, and pipeline capital</a>, hosting over 20% of publicly listed oil and gas companies globally. In a <a href="https://www2.deloitte.com/us/en/insights/industry/oil-and-gas/capital-investment-in-oil-and-gas-sector.html">recent analysis by Deloitte</a>, Canadian corporations were ranked the third most aggressive in the world at expanding fossil fuel investment, behind only Australia and Brazil. Despite <a href="https://www.thestar.com/business/opinion/2021/02/27/big-banks-net-zero-pledges-could-become-meaningful-with-shareholder-activism-and-executive-pay-alignment.html">significant greenwashing efforts</a>, Canada’s large chartered banks are all massively invested in financing the fossil fuel industry, with over $558B in new investment globally in just four years from 2016 to 2020.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Yrj4sdZCa85-73jxXQf_Gw.png" /></figure><p>The Alberta tar sands are one of the largest single fossil fuel deposits on the planet, accounting for 166 out of 171 (97%) billion barrels of Canada’s oil reserves. Oil sands accounted for <a href="https://www.nrcan.gc.ca/science-data/data-analysis/energy-data-analysis/energy-facts/crude-oil-facts/20064">69% of Canadian oil production</a> in 2019 and are expected, along with liquid natural gas, to represent the vast majority of fossil fuel expansion through to 2050. Canadian tar sands oil production has an incredible appetite for capital, soaking up an estimated $331B in capital investment through to 2020.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KCXztuId3u84kDvDd9CSFg.png" /></figure><h3>Canada’s role in the world capitalist system: resource and energy extraction</h3><p>One of Canada’s main roles in capitalism’s global division of labour among imperialist states is as a producer and exporter of energy- more specifically, funneling massive amounts of energy southward, to the heart of global capitalism in the USA, where 98% of our crude oil exports go. Even though fossil fuels are declining as a share of the Canadian economy, energy products have been Canada’s most important export since the oil boom began in the early 21st Century.</p><p>From 2008 onward, energy products rose to prominence as the most important trade good, compensating for the decline of both our previously most valued goods, automobiles and parts, as well as many manufacturing sectors in general. Energy products were worth an average of 21% of the value of Canadian exports from 2008 to 2020. Energy exports are a gale force wind howling into the sails of the fossil fuel industry. According to <a href="https://www.nrcan.gc.ca/science-data/data-analysis/energy-data-analysis/energy-facts/crude-oil-facts/20064">NRCAN</a> 3.8 out of 4.7 (80%) million barrels of oil production per day were for export in 2019. Domestic demand for fossil fuels is projected to <a href="https://www.cbc.ca/news/science/fossil-fuels-canada-1.5813884">decline through to 2050</a>, so exports will account for the vast majority of expanded production going forward.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Vbm2QAJOASXfyVCViCCn3A.png" /></figure><p>The dominance of energy goods in trade and importance of fossil fuels to capital accumulation in Canada, taken together, certainly explain much of the political consensus around the centrality of fossil fuels and Canada’s economic strategy for the 21st Century. No mainstream political party or leader can possibly offer (without breaking with capitalism, colonialism and imperialism) an alternative vision of Canada’s role in the world economy beyond that of the <a href="https://ds4cs.netlify.app/post/excavating-the-truth-on-canadian-mining-in-africa/">colonial resource grabber</a>, one of the main providers of raw materials and energy for global capitalist production. There is even <em>less</em> room to maneuver because most of Canada’s other top exports, it must be noted, are from other greenhouse gas intensive industries such as mining and forestry and the same can be said for the investment profile of Canadian owned corporations abroad.</p><h3>Canadian fossil-capital’s plan to cash in on the climate crisis</h3><p>Far from contemplating an alternative economic strategy for Canada, the nation’s economic and political elites have opted to double down on the fossil fuel trade. Canadian fossil capitalists intend to compensate for the gradual decline of demand for their product domestically by exporting as much of it as possible while the industry is still viable. It is a massive gamble that they will be able to take advantage of an almost inevitable drop in oil prices, filling as much demand as possible for cheap oil to still willing customers, our <a href="https://www.canadianenergycentre.ca/oil-and-gas-to-lead-us-energy-consumption-to-2050-says-new-forecast/">Southern neighbor first and foremost</a>. That is why the Canadian state, while paying lip service to <a href="https://www.climatechangenews.com/2020/09/24/trudeau-promises-green-jobs-canada-leadership-hangs-balance/">“climate action”</a>, was happy to fork over <a href="https://www.cbc.ca/news/politics/iisd-pipelines-subsidies-fossil-fuels-1.6090871">$23B in public funds to support oil and gas pipelines</a> from 2018 to 2021.</p><p>The emissions reductions target set by Canada (30% less than 2005 level emissions by 2030), and most other nations, at the 2015 Paris were panned by <a href="https://www.eurekalert.org/pub_releases/2019-11/tca-ttb110119.php">climate scientists</a> and even the <a href="https://unfccc.int/news/greater-climate-ambition-urged-as-initial-ndc-synthesis-report-is-published">UN Climate Change Secretariat</a> as severely deficient. At any rate, like every other climate target Canadian governments have set, we were not really on <a href="https://www.cbc.ca/news/politics/trudeau-climate-change-2030-fact-check-1.5295961">track to meet it</a>. In late 2020, the Liberal government released, under great pressure, a “strengthened climate plan,” that includes the most current projections of fossil fuel sector production and emissions from 2020 to 2030.</p><h3>Canada’s fair share of the global carbon budget goes up in smoke</h3><p>The Liberal climate plan involves intense expansion of fossil fuel production, almost entirely for export, seeing crude oil production nearly triple from 2.6 to 6.2 million barrels per day by 2030. Under the supposedly <em>upgraded</em> late 2020 climate plan, Canada’s total <strong>cumulative emissions</strong> will certainly exceed an equitable share of the global carbon budget with the best chance of preventing both 1.5°C and 2.0°C of warming.</p><p>Conventional emissions reduction targets are measured as a percentage of current or past emissions, which is a problem, because the rich, industrialized nations representing roughly 20% of world population are responsible for the vast majority of historical and current emissions.</p><p>An equitable alternative is a population-based carbon accounting system, where nations use up remaining emissions at a level proportionate to their share of the world population. In Canada’s case, that’s just under 0.5% of the global population, so an equitable emissions allotment should close to 0.5% of the world’s remaining limit. According to <a href="https://simondonner.com/2019/11/27/canadas-remaining-carbon-budget-frequently-asked-questions/">climate scientist Simon Donner</a>, a population-based budget system is necessary, because if the minority of wealthy nations soak up a disproportionate share of the world emissions budget, there is little chance of the world avoiding even a catastrophic 3°C of warming.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3lE1lSpNqx9TeFhFtnCYcA.png" /></figure><p>According to the most recent detailed emissions projections released by the government, <strong>planned expansion of fossil fuels alone</strong> will blow Canada’s entire fair share based on population (about 2.1 billion tonnes of CO₂) of a global carbon budget with the best chance of avoiding 1.5°C of warming (about 420 billion tonnes of CO₂ from 2018 onward) Total projected emissions tops out at 114% an equitable carbon budget for Canada, with tar sands production alone torching over half of it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FZScmQs-5mh1aeC2LmR6aw.png" /></figure><h3>Next up in the series</h3><p>Most of this oil production is for export, the vast majority of which goes South to feed the energy needs of US capitalism. Trudeau himself <a href="https://www.bloomberg.com/news/articles/2021-04-27/trudeau-hits-back-against-criticism-of-canada-as-climate-laggard">acknowledged the extra “challenge”</a>, to put it extremely generously, of following through on decarbonization as a top energy and fossil fuel exporter. The next post in this series will do a deep dive into Canada’s longer-term energy export strategy and its impact on the climate crisis, including existing projections for emissions and energy production up to 2050.</p><h3>Data sources</h3><ul><li><a href="https://blogs.ubc.ca/sdonner/files/2016/02/Donner-and-Zickfeld-Canada-and-the-Paris-Climate-Agreement.pdf">Donner, S. &amp; Zickfield, K. 2016. “Canada’s contribution to the temperature limits in the Paris Climate Agreement.”</a></li><li><a href="https://www.canada.ca/en/environment-climate-change/services/climate-change/greenhouse-gas-emissions/projections.html">ECC Canada. 2021. “Canada’s Greenhouse Gas and Air Pollutant Emissions Projections 2020.” Environment and Climate Change Canada; Ottawa, ON.</a></li><li><a href="https://www.epa.gov/sites/production/files/2020-04/documents/ghg-emission-factors-hub.pdf">EPA. 2021. “Emission Factors for Greenhouse Gas Inventories.” Environmental Protection Agency; Washington, DC.</a></li><li><a href="https://www.ipcc.ch/sr15/download/">IPCC. 2018. “Global Warming of 1.5°C: An IPCC Special Report on the impacts of …” Intergovernmental Panel on Climate Change.</a></li><li><a href="https://careersinoilandgas.com/what-is-lmi/employment-labour-data/">PetroLMI. Accessed July 2021. Employment + Labour Data. Petroleum Labour Market Information. Energy Safety Canada; Calgary, AB.</a></li><li><a href="https://www.ran.org/bankingonclimatechaos2021/">RAN. 2021. “Banking on Climate Chaos: Fossil Fuel Finance Report 2021.” Rainforest Action Network.</a></li><li><a href="https://ourworldindata.org/co2-emissions">Richie, H. &amp; Roser, M. Accessed 2020. “CO2 Emissions”. Our World In Data.</a></li><li><a href="https://www150.statcan.gc.ca/t1/tbl1/en/tv.action?pid=3410003501">StatCan. Accessed July 2021. Table 34–10–0035–01. “Capital and repair expenditures, non-residential tangible assets, by industry and geography.”</a></li><li><a href="https://www150.statcan.gc.ca/t1/tbl1/en/tv.action?pid=3610044901">StatCan. Accessed July 2021. Table 36–10–0449–01. “Gross domestic product (GDP) at basic prices, by industry, quarterly average.”</a></li><li><a href="https://www150.statcan.gc.ca/t1/tbl1/en/tv.action?pid=1210012001">StatCan. Accessed July 2021. Table 12–10–0120–01. “Historical (real-time) releases of merchandise imports and exports, customs and balance of payments basis for all countries, by seasonal adjustment and North American Product Classification System (NAPCS).”</a></li><li><a href="https://www150.statcan.gc.ca/t1/tbl1/en/tv.action?pid=1410002301">StatCan. Accessed July 2021. Table 14–10–0023–01. “Labour force characteristics by industry, annual.”</a></li></ul><p><em>Originally published at </em><a href="https://ds4cs.netlify.app/post/canadian-fossil-capitalism-s-climate-contradictions/"><em>https://ds4cs.netlify.app</em></a><em> on July 6, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6b19baf62f1e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Super-Exploitation: Capitalism Needs Racism and Patriarchy]]></title>
            <link>https://ds4cs.medium.com/super-exploitation-capitalism-needs-racism-and-patriarchy-5c60ea4411d7?source=rss-641d5da6acaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/5c60ea4411d7</guid>
            <category><![CDATA[social-justice]]></category>
            <category><![CDATA[politics]]></category>
            <category><![CDATA[racism]]></category>
            <category><![CDATA[canada]]></category>
            <category><![CDATA[socialism]]></category>
            <dc:creator><![CDATA[Data Science for Class Struggle]]></dc:creator>
            <pubDate>Tue, 15 Jun 2021 00:00:00 GMT</pubDate>
            <atom:updated>2021-06-21T20:33:32.502Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Or0ar0mZrAALmvYnlzXJHQ.jpeg" /></figure><h3>On capitalism’s historical necessity for oppression</h3><p>Exploitation and oppression are the twin pillars of capitalism. In this analysis, I demonstrate that a patriarchal and racist labour market hierarchy is an indispensable component of Canadian capitalism. Using data from the Canadian Census, I propose a thought experiment and a simple statistical simulation to quantify, at least in part, the economic benefits of racism and patriarchy accruing to the capitalist class. Racism, patriarchy, and other forms of oppression stratify the labour market in ways that create opportunities for employers to boost their profits by paying oppressed workers lower than average wages. This is the essence of the concept of <a href="https://springmag.ca/claudia-jones-intersectional-socialist">super-exploitation</a>, which acts as a powerful, but often unspoken, incentive for the capitalist ruling class to perpetuate a society based on oppression- notwithstanding the recent woke-washing of <a href="https://30percentclub.org/about/chapters/canada">corporate</a> and <a href="https://thebridgehead.ca/2020/09/24/justin-trudeau-promises-a-feminist-and-intersectional-response-to-the-covid-19-pandemic/">political</a> elites.</p><p>The secret to the rise of capitalism, one that many have still not heard, is that in order to get started, to grow, and mature in historical terms, it <strong>absolutely required</strong> violent dispossession and massive theft of other people’s wealth, land, and even bodies. In order to facilitate this accumulation by dispossession, capitalism has both absorbed pre-existing forms of oppression, like patriarchy, and invented novel forms of oppression including racism and the particular form of genocidal oppression faced by victims of colonialism.</p><p>Racism’s roots run deep, right to the <a href="https://www.calfac.org/sites/main/files/file-attachments/andy_smith_indigeneity_settler_colonialism_white_supremacy.pdf">core of capitalism</a> due to the centrality of the <a href="https://www.journals.uchicago.edu/doi/10.1086/709818">trans-Atlantic slave trade</a> and <a href="https://springmag.ca/settler-colonialism-in-canada-a-brief-outline">inherently racist and genocidal regimes of colonial land theft</a> to the industrialization of Europe and then its settler-colony offshoots, especially the USA and Canada. Consequently, capitalist relations of production developed on the basis of a racial hierarchy of exploitation from the very beginning, growing an inherent reliance on both outright slavery and super-exploitation of workers oppressed by racism and colonialism.</p><p>Patriarchy, likewise, is deeply rooted in the development of capitalism by the <a href="https://www.hamptonthink.org/read/women-and-capitalism-revisiting-silvia-federicis-caliban-and-the-witch">gendered dimensions of the ruling class war on the European peasantry</a>, which was a pre-condition for privatization of land and formation of an urban working class. As a result, capitalism rose from a basis of gendered relations of production, growing <a href="https://uppingtheanti.org/journal/article/02-caliban-and-the-witch-women-the-body-and-primitive-accumulation">wholly dependent on the unpaid domestic and caring labour of women</a> and super-exploitation of women as workers, especially those, again, oppressed by colonialism and racism.</p><h3>Super-exploitation and super-profits: intersections between exploitation and oppression</h3><p>Capitalism requires many forms of oppression to maximize the exploitation that keeps the motors of profit humming along. Profit is the fundamental motive force that animates capitalism, the <a href="https://thenextrecession.files.wordpress.com/2017/06/the-profit-investment-nexus-michael-roberts-hmny-april-2017.pdf">main indicator of “health” and driver of investment</a> in a capitalist economy. Capitalists are dogged by what Marx called the most important law of political economy, the tendency for <a href="https://en.wikipedia.org/wiki/Tendency_of_the_rate_of_profit_to_fall">profit rates to fall over time as capital accumulates</a>. Individual firms will fail and entire economies will sputter into stagnation and crisis without sufficient profitability. Upon the pain of destruction, therefore, declining profit rates nipping at their heels, capitalists are forced to continually chase after opportunities to raise the rate and total mass of profits.</p><p>Profits that are above and beyond the average rate of return on investment are known as <a href="https://en.wikipedia.org/wiki/Superprofit">super-profits</a>. That capitalists are greatly motivated by the hunt for super-profits is known not just to Marxists, but also to many in <a href="https://doi.org/10.1016/j.sbspro.2013.08.755">business circles</a>. There are many potential sources of super-profits: <a href="https://mronline.org/2018/04/14/exploitation-and-super-exploitation/">colonialism and imperialism</a>, technological advantages in production, monopoly power, and last but not least, in the way that <a href="https://scholarworks.smith.edu/cgi/viewcontent.cgi?article=1014&amp;context=swg_facpubs">gender</a> and <a href="https://monthlyreview.org/2020/07/01/modern-u-s-racial-capitalism/">racial</a> oppression shape capitalist relations of production.</p><p>Racism and patriarchy create a structure of uneven exploitation within capitalism, because bosses are often able to get away with paying certain groups of oppressed workers -in this case, workers that are racialized, women, and especially racialized women- lower than average wages, <em>i.e.</em>, super-exploitation, thereby earning higher profits than they might have otherwise, <em>i.e.</em>, super-profits. Disproportionate numbers of oppressed workers, facing much higher rates of unemployment and underemployment, are pushed into the ranks of the <a href="https://research.gold.ac.uk/id/eprint/27940/2/Farris_Social%20Reproduction%20and%20Racialised%20Surplus%20Population.pdf">reserve army of labour</a>, serving as a pool of cheap and precarious labour for capitalists to exploit in labour intensive, low wage industries.</p><h3>Uneven exploitation in Canadian capitalism</h3><p>Many white Canadians are probably unaware that Canada consistently places among the <a href="https://www.narcity.com/canada-ranked-as-top-racial-discrimination-countries-in-the-world-during-the-hiring-process">worst in the world</a> in the world in terms of racist labour market discrimination. Canada also constantly ranks as having one of <a href="https://data.oecd.org/earnwage/gender-wage-gap.htm">the highest gender wage gaps among OECD nations</a>. Examining data on income, race, and gender from the 2016 Canadian Census confirms the expectation that the labour market of Canadian capitalism is highly stratified by racism, patriarchy, and colonialism.</p><p>Unsurprisingly, the wages of white men form the tip of the wage pyramid. Racialized men earned on average only <strong>74¢ to every dollar</strong> earned by a non-racialized man. The upper and lower portions of the wage hierarchy are clearly divided by a gender line. White women earned only an average of <strong>67¢ to each dollar</strong> earned by white men and the average wages of racialized women were <strong>45% lower</strong> than white men. Indigenous workers, bearing the double oppression of racism and colonial dispossession, have been pushed to the very floor of the income hierarchy 1.</p><figure><img alt="Vertical bar chart showing the incomes of racialized and women workers relative to each dollar earned by white men. Racialized men were paid anywhere from 13¢ (Chinese workers) to 34¢ (Indigenous workers) an hour less than white men. All women, even white women, earned an average of 33¢ less for every white man’s dollar; West Asian, Arab, and Indigenous women earned only 50¢ on the dollar" src="https://cdn-images-1.medium.com/max/1024/1*dL6-Idp3yoyPawH1NYwvFg.png" /></figure><p>Access to the entire person-level set of Census data is understandably highly restricted, so the precise distribution of incomes in Canada can’t be easily known. However, it’s possible to simulate the full income distribution using the sample of Census data available to the public. Below is another way of visualizing the distribution of employment income for all workers along the lines of race and gender- the lines bisecting the curves represent the half-way point in the workforce.</p><figure><img alt="Density curve charts showing census-based simulations of the distribution of Canadian incomes in 2016 on the basis of race and gender. The charts show that the average incomes non-racialized workers and men are the highest, with the tail of the curve for white men in the highest income range by far." src="https://cdn-images-1.medium.com/max/1024/1*Pf5gK2wkultC7enthLJQSw.png" /></figure><h3>The causes of super-exploitation in Canada</h3><p>Again, it is obvious that Canadian capitalism’s wage structure is greatly influenced by racism and patriarchy. This edifice of over-exploitation is complicated, caused by the interaction of many factors. To touch on them all would take some time and is beyond the scope of this analysis. However, the racial income hierarchy can be explained to a large degree by the racism of the Canadian labour market, including, but not limited to, discrimination based on:</p><p>Women face a double-sided exploitation under capitalism- expropriation of unpaid labour on one hand and super-exploitation in the capitalist labour market on the other. Women in general made up the bottom range of the income hierarchy and incomes were the lowest overall for racialized women. Existing research has shown a very strong link between the demands of unpaid domestic and caring labour and reductions in income for women. A <a href="https://www.oecd.org/dev/development-gender/Unpaid_care_work.pdf">global study</a> of the unpaid labour of women found that those committing more than twice as much time to domestic labour as men made an average incomes that were 65% lower. Sectors of the economy based on caring labour are dominated by women and <a href="https://www.cbc.ca/news/canada/new-brunswick/pay-gap-care-workers-1.5781888">chronic under-payment.</a> In Canada, the value women’s unpaid caring work has been estimated to be <a href="https://www.queensu.ca/qiisp/sites/webpublish.queensu.ca.qispwww/files/files/2020/presentations/PENG_Ito_QIISP2020.pdf">over a quarter of GDP</a>, which would have been around $440B in 2019.</p><p>The burdens of caring work placed on women are compounded by outright sexist bias and discrimination in hiring and the workplace. Canadian <a href="https://www.cdhowe.org/sites/default/files/attachments/research_papers/mixed/Commentary_561.pdf">women are paid less for equivalent work</a> than their co-workers who are men, even with comparable levels of education and experience, directly after graduation. Women and especially racialized women are significantly <a href="https://crdcn.org/sites/default/files/carole_vincent_synthesis_final_2.pdf">over-represented in low wage occupations and among those with part-time or temporary employment.</a></p><h3>The value of oppression to Canadian capitalists</h3><p>I propose a simple thought experiment to approximate the economic value of this systematic over-exploitation of oppressed workers:</p><blockquote><strong><em>What would the distribution of incomes look like without any oppression based hierarchy?</em></strong></blockquote><p>For the sake of the thought experiment, let’s assume that Canadian capitalists, all other things being equal, had to pay women and racialized workers the same average wages as white men, both on an hourly basis and in terms of total yearly income. <strong>That means no systematic underpayment of racialized people and women.</strong> No more pool of oppressed workers that can be super-exploited because they have been pushed to the economic margins; no more taking advantage of part-time and precarious workers and practices like zero-hour contracts to fine time work schedules for maximum profitability; and so on.</p><p>A simple simulation of the distribution of Canadian incomes <strong>as though all workers were paid the same average wages as white men</strong> can be illuminating here. Using parameters obtained from the 2016 Canadian Census micro-data, I simulated what the wage bill for all workers would be if the distribution of incomes were the same as white men, an average annual income of $56,920. The wage bill of all Canadian workers would have shot up by over <strong>$100 billion dollars</strong>, which is about 36% of corporate profits for that year.</p><p>This figure is probably an under-estimate of the true value of racial and patriarchal oppression to Canadian capitalists, since it doesn’t take into account the multifaceted super-exploitation of immigrants, which no doubt significantly overlaps the racial/gender dimensions of exploitation. Despite the recent flurry of flimsy corporate branding exercises in <a href="https://globalnews.ca/news/7644810/black-businesses-racism-canada/">anti-oppression</a>, it’s basically impossible to imagine capitalists giving up on a wellspring of profits as lucrative as super-exploitation.</p><figure><img alt="Infographic showing calculations for the simulated distrubution of incomes without any racial or gender gaps. Number of workers: 17,230,035; Average employment income: \$56,920; Original wage bill” \$881 billion; New wage bill without any gaps: \$981 billion; Without wage gaps, the wage bill of all workers increases by \$100 billion. That sum represents 36% of net corporate profits of \$283 billion in 2016." src="https://cdn-images-1.medium.com/max/1024/1*NWw6srMOPhm6cYG8kPyOwQ.png" /></figure><h3>Data sources</h3><ul><li><a href="http://www.policyalternatives.ca/sites/default/files/uploads/publications/National%20Office/2019/12/Canada%27s%20Colour%20Coded%20Income%20Inequality.pdf">Block, S., Galabuzi, G.E., Tranjan, R. 2019. “Canada’s Colour Coded Income Inequality.” Canadian Centre for Policy Alternatives.</a></li><li><a href="https://www12.statcan.gc.ca/census-recensement/2016/dp-pd/dt-td/Rp-eng.cfm?TABID=1&amp;LANG=E&amp;A=R&amp;APATH=3&amp;DETAIL=0&amp;DIM=0&amp;FL=A&amp;FREE=0&amp;GC=01&amp;GL=-1&amp;GID=1341679&amp;GK=1&amp;GRP=1&amp;O=D&amp;PID=110562&amp;PRID=10&amp;PTYPE=109445&amp;S=0&amp;SHOWALL=0&amp;SUB=0&amp;Temporal=2017&amp;THEME=120&amp;VID=0&amp;VNAMEE=&amp;VNAMEF=&amp;D1=0&amp;D2=0&amp;D3=0&amp;D4=0&amp;D5=0&amp;D6=0">StatCan. 2017. Catalogue №98–400-X2016210. 2016 Census Data Tables, Immigration and ethnocultural diversity; Income statistics.</a></li><li><a href="https://www12.statcan.gc.ca/census-recensement/2016/dp-pd/dt-td/Rp-eng.cfm?TABID=4&amp;LANG=E&amp;A=R&amp;APATH=3&amp;DETAIL=0&amp;DIM=0&amp;FL=A&amp;FREE=0&amp;GC=01&amp;GL=-1&amp;GID=1341679&amp;GK=1&amp;GRP=1&amp;O=D&amp;PID=110523&amp;PRID=10&amp;PTYPE=109445&amp;S=0&amp;SHOWALL=0&amp;SUB=0&amp;Temporal=2017&amp;THEME=122&amp;VID=0&amp;VNAMEE=&amp;VNAMEF=&amp;D1=0&amp;D2=0&amp;D3=0&amp;D4=0&amp;D5=0&amp;D6=0">StatCan. 2017. Catalogue №98–400-X2016170. 2016 Census Data Tables, Aboriginal Peoples; Income statistics.</a></li><li><a href="https://www150.statcan.gc.ca/t1/tbl1/en/tv.action?pid=3610011401">StatCan. Table 36–10–0114–01, “Compensation of employees, Canada, quarterly (x 1,000,000).”</a></li><li><a href="https://www150.statcan.gc.ca/t1/tbl1/en/tv.action?pid=1410028703">StatCan. Table 14–10–0287–03, “Labour Force Characteristics by province, monthly, seasonally adjusted.”</a></li><li><a href="https://www150.statcan.gc.ca/t1/tbl1/en/tv.action?pid=3310000801">StatCan. Table 33–10–0008–01, “Quarterly statement of changes in financial position, selected financial ratios by industry.”</a></li></ul><p><em>Originally published at </em><a href="https://ds4cs.netlify.app/post/superexploitation-capitalism-needs-racism-and-patriarchy/"><em>https://ds4cs.netlify.app</em></a><em> on June 15, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5c60ea4411d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What is the Police and Prison Dividend?]]></title>
            <link>https://ds4cs.medium.com/what-is-the-police-and-prison-dividend-931c20176827?source=rss-641d5da6acaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/931c20176827</guid>
            <category><![CDATA[social-justice]]></category>
            <category><![CDATA[canada]]></category>
            <category><![CDATA[socialism]]></category>
            <category><![CDATA[economics]]></category>
            <category><![CDATA[police]]></category>
            <dc:creator><![CDATA[Data Science for Class Struggle]]></dc:creator>
            <pubDate>Wed, 09 Jun 2021 00:00:00 GMT</pubDate>
            <atom:updated>2021-06-12T21:56:03.949Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*5zDfyz0IZTeR4WLNOCWgAg.jpeg" /></figure><p>What is the <strong>police and prison dividend</strong>? It’s quite similar in concept to the <a href="https://truthout.org/articles/a-road-not-taken-the-dream-of-the-peace-dividend/">peace dividend</a>, the proposal that diverting money and resources away from the military-industrial complex to civilian uses can yield great economic and social benefits. The military-industrial complex wastes the labour and resources of society to produce vastly expensive means of destruction, providing little to no tangible benefits to social well-being.</p><p>As the <a href="https://en.wikipedia.org/wiki/Chance_for_Peace_speech">somewhat refreshingly honest imperialist</a>, Dwight D. Eisenhower explained:</p><blockquote><em>Every gun that is made, every warship launched, every rocket fired signifies, in the final sense, a theft from those who hunger and are not fed, those who are cold and are not clothed. This world in arms is not spending money alone. It is spending the sweat of its laborers, the genius of its scientists, the hopes of its children.</em></blockquote><p>It follows from the logic of the peace dividend that diverting resources from sectors of the economy that likely destroy value and restrict productivity, policing and prisons, into actually useful sectors, like education or healthcare, also holds considerable potential. This analysis is intended to be a first step on quantifying the potential economic benefits of the police and prison dividend to Canadian society.</p><p>Such gains are, of course, on top of immediate boon of restricting the coercive powers of the capitalist state. Even if divestment from policing and prisons weren’t a good economic investment for society, it would <strong>still be the correct path to follow.</strong></p><p>To “ask about alternatives to police,” as <a href="https://www.mcgilldaily.com/PoliceIssue/Restorative-Justice.html">criminologist Luis Fernandez</a> puts it, “is to ask the question of what are the alternatives to capitalism?” Abolition of the police a necessary step in ending the <a href="https://yellowheadinstitute.org/2020/07/15/police-brutality-in-canada-a-symptom-of-structural-racism-and-colonial-violence/">inherently racist, oppressive, and violent order of capitalism</a> that police exist to enforce- but it just so happens that divestment also contains great economic potential.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/791/1*QuhJZFfYHDvFZ_BuwB50sA.png" /></figure><p>Many Canadians will be shocked to learn how much of society’s resources are wasted on policing and incarceration. In 2017–2018, the year that this analysis focuses on, all levels of Canadian governments (federal, provincial and local) spent a combined $20.5B on policing and the prisons. That’s almost as much as that year’s <a href="https://www.macrotrends.net/countries/CAN/canada/military-spending-defense-budget">entire military budget</a> of $22B. If all of policing and prisons funding were grouped together as an item on the 2017–2018 Federal Budget, it would have been one the largest expenses of public funds by the government that year.</p><h3>How can we estimate the police and prison dividend?</h3><p>Every two years, Statistics Canada produces the results of an economic simulation of the Canadian economy called <a href="https://www23.statcan.gc.ca/imdb/p2SV.pl?Function=getSurvey&amp;SDDS=1401">input-output tables</a>. Using this data, it’s possible to produce estimates of how investment in one sector of the economy will impact the other sectors of the economy in terms of output, GDP growth, and jobs created.</p><p>The estimated overall impact of investment on the economy is summarized as a <strong>multiplier</strong> for most sectors or industries. For example, an output multiplier of 1.3 would indicate that an extra 30¢ worth of output is produced for every $1 of investment. The <a href="https://www150.statcan.gc.ca/n1/pub/13-606-g/2016001/article/14619-eng.htm">total multiplier</a> measures the overall impact of investment at three levels:</p><ol><li><strong>Direct impacts</strong> that are the immediate result of the economic activity.</li><li><strong>Indirect impacts</strong> that on other industries as a result of the original investment.</li><li><strong>Induced impacts</strong> that estimates the effect of changes in household spending due to the original investment.</li></ol><blockquote>Example of the <strong>total multiplier</strong> impacts of education spending:</blockquote><blockquote>Increased public education spending may result in hiring of new teachers and the construction of new schools <strong>(direct impacts)</strong>.</blockquote><blockquote>Those changes in demand, in turn, may impact local construction and school supply firms <strong>(indirect impacts)</strong>.</blockquote><blockquote>Finally, if new teachers, construction workers, and textbook binders are hired and move into the community, this leads to an increase in local household spending, which in turn impacts other sectors of the economy <strong>(induced impacts)</strong>.</blockquote><p>Using the most recent economic multiplier data (2017) from StatCan, it’s possible to estimate the impacts of reinvesting public spending from policing and prisons into other actually productive sectors of the economy. For the purposes of this analysis, let’s assume that there is an investment equivalent to 70% of current public expenses on policing and prisons back into five of the highest impact (based on their input-output multipliers) public service and non-profit sectors of the economy.</p><p>The chosen sectors are First Nations local governments, social assistance, public education, public health care, and urban transit systems. While these sectors typically don’t produce commodities for sale on the market, the input-output multiplier tables show substantial impact on the economy as a whole. Typically, these sectors will return <strong>$1.20 to $1.30 for every dollar invested</strong> when the indirect and induced impacts are taken into account.</p><h3>The Police and Prison Dividend</h3><p>Defunding police and prisons by 70% would have raised funds of about $14.13B in 2017–2018. For the sake of the thought experiment, let’s divide that sum up equally five ways into <strong>$2.87B chunks</strong> to be reinvested into five high impact sectors of the economy: transit systems, social assistance, public education, public healthcare, and First Nations governments.</p><p>By reinvesting that funding from sectors that are probably destructive of value into sectors that are actually economically and socially useful, an estimated surplus of $6.59B of goods and services would be produced. This is the concept of the Police and Prison Dividend in action:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xvm4T_NCWND_gw7eCMzNWg.png" /></figure><h3>Ending the waste of police and prisons leads to a jobs windfall</h3><p>Using input-output multiplication figures, it’s also possible to estimate the impact of investment on job creation. Looking at job creation figures reveals one of the main reasons that divestment from police and prisons into other sectors can produce such economic ripple-effects. Policing and prisons are both notably bad investments in terms of job creation. The chosen public and social services sectors were <strong>2.5 times more effective</strong> at creating jobs compared to policing and prisons.</p><p>Police budgets are clearly <a href="https://www.ctvnews.ca/canada/cost-to-run-some-municipal-police-departments-has-ballooned-since-2015-1.5018532">inflating out of control</a>, making law enforcement the <a href="https://www.ctvnews.ca/canada/defund-the-police-this-is-how-much-canadian-cities-spend-1.5018506">biggest budget item</a> of Canada’s major cities. We have witnessed decades of austerity bringing brutal cuts to vital public services, while there always seems to be more money for the cops. It is as if the public sector has been defunded to boost the police.</p><p>Despite the avalanche of public funds, only 6.5 jobs were created per million dollars of spending- not to imply that we’d want more cops out there in the first place. Perhaps the extent to which police are <a href="https://www.theglobeandmail.com/news/toronto/swelling-ranks-of-toronto-polices-2014-sunshine-list-raises-alarms/article23469816/">outrageously overpaid</a> and their <a href="https://atlantic.ctvnews.ca/canada-s-militarized-police-forces-face-defunding-and-de-tasking-experts-say-1.5026945">unnecessary toys are obscenely expensive</a> has something to do with it.</p><p>Likewise, the economic and human costs of incarceration are <a href="https://www.macleans.ca/news/canada/houses-of-hate-how-canadas-prison-system-is-broken/">notoriously egregious</a>. Corrections Canada, the agency running the federal prison system, spends anywhere from <a href="https://www.pbo-dpb.gc.ca/web/default/files/Documents/Reports/2018/Update%20Incarceration%20Costs/Update%20on%20Costs%20of%20Incarceration_EN.pdf">$100,236 to $533,765 per year</a> to incarcerate a person. The average cost to build a new a maximum security federal facility is over a quarter of a billion dollars and can easily <a href="https://torontolife.com/city/inside-toronto-south-detention-centre-torontos-1-billion-hellhole/">top over a billion</a> for a single facility. Prisons are even more abysmal at job creation (not that we want more employment in the sector) than policing; only 3.4 jobs in the prison sector were created per million dollars of spending.</p><p>A tide of job creation rolls in with the police and prison dividend, with an estimated 270,000+ jobs created. Even when accounting for the reduction in staffing levels in prisons and police forces, an estimated surplus of just under 190,000 jobs would be produced. Therein lies the essence of the police and prison dividend. A billion dollars of investment in prisons, for example, equated to about 3400 jobs, while the same investment in the social assistance sector would produce an estimated 23,400 jobs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*61g4f-lgYMrAvHhlPbO0xA.png" /></figure><h3>Key assumptions of the Police and Prison Dividend</h3><h4>1. The economic value of policing and prisons is nil</h4><p>The first key assumption is that policing and prisons are not value producing sectors in economic terms. Most efforts to <a href="https://www.justiceandsafety.ca/rsu_docs/the-economics-of-canadian-policing---june-2014_1.pdf">quantify the economic value</a> of policing resort to cost-benefit analysis to assign “value” to the prevention of crime. However, in capitalist political economy, prevention of a loss of value is not the same as creation of value, which only comes from the exploitation of labour in the process of commodity production.</p><p>The “products” of policing and prisons (the power of state coercion and incarceration) are not only directly useless to economic production, but they more than likely actually waste value produced in other sectors of the economy. This would likely not apply in the case of private, for profit policing or prisons, neither of which are currently a factor in Canada- with the rather odd exception of a nation-wide private <a href="https://ipolitics.ca/2020/02/11/canadas-railways-should-stop-investigating-themselves/">railway police force</a>.</p><h4>2. The economic ripple effects of policing and prisons are minimal at best</h4><p>The second assumption is that public spending on policing and prisons has a limited at best (most likely negative) impact on local economic activity and employment; especially so when compared to the opportunity costs of not exploring other avenues for actually useful public investment.</p><p>It isn’t just that policing and prisons are non-market sectors of the economy, in that they don’t produce commodities for sale, since the sectors targeted for reinvestment are also engaged mostly in non-market production. StatCan uses a <a href="https://www150.statcan.gc.ca/n1/pub/13-606-g/2016001/article/14619-eng.htm">special procedure</a> to incorporate non-market production into the input-output tables by valuing the output at the cost of production.</p><p>Even so, StatCan does <strong>not</strong> produce any input-output estimates of the economic impact of spending on either policing or prisons, though estimates are produced for the private security and also military sectors. An extensive review of existing research uncovered many references to “force multiplication,” but virtually no material related to incorporating police/prison spending into input-output models or estimating economic multipliers for such spending.</p><p>In fact, only a single study estimating an input-output multiplier for policing could be located. In a 2011 analysis of post-Great Recession stimulus in the US, the authors found that stimulus spending on police services had an <a href="https://www.nber.org/system/files/working_papers/w16759/w16759.pdf">negative implied impact multiplier of -$3.30 for every dollar invested</a> and no meaningful impact on local employment.</p><p>A <a href="https://onlinelibrary.wiley.com/doi/abs/10.1111/j.1540-6237.2010.00690.x">meta-analysis</a> of the limited research on the economic impact of prisons on local economies in the US found no positive employment impact on employment from 1976 to 2004. Another <a href="https://www.sentencingproject.org/wp-content/uploads/2016/01/Big-Prisons-Small-Towns-Prison-Economics-in-Rural-America.pdf">longitudinal study on rural prison sites in New York state</a> found likewise, that the employment gains and local economic benefit of prisons were slim to none because “few linkages to local economies” are made. Both findings are in accord with the extremely low performance of prison spending on employment found in this analysis (only 3.3 jobs per million) and reports from <a href="https://www.tvo.org/article/why-new-prisons-may-not-bring-new-jobs">Canadian communities impacted by prison placement</a>.</p><p>Even worse, as the authors of both previously mentioned studies noted, the presence of a prison can have a negative impact on local economies, driving wages down by forcing local workers to compete with prisoners for jobs, when the latter can be paid little to nothing. <a href="https://www.nationalmagazine.ca/en-ca/articles/law/in-depth/2019/all-work-and-low-pay">Super-exploitation of prison labour</a> is unfortunately just as <a href="https://www.huffingtonpost.ca/entry/canada-prison-labour-covid-face-masks_ca_5fdd1a5ac5b6e5158fa70360">significant</a> a factor <a href="https://briarpatchmagazine.com/articles/view/milking-prison-labour">here</a> as it is in the United States; prisoners in Canada can earn up to a <a href="https://www.macleans.ca/news/canada/houses-of-hate-how-canadas-prison-system-is-broken/#:~:text=The%20most%20an%20inmate%20can,%2C%E2%80%9D%20the%20corrections%20officer%20reported.">max of just $6.90 a day</a> and are often made to pay for their living costs on top of that.</p><h4>3. What about the costs of crime?</h4><p>Skeptics of the police and prison dividend will likely bring up the costs of crime. It is in fact true that crime is <a href="https://www.publicsafety.gc.ca/cnt/rsrcs/pblctns/2015-r022/index-en.aspx">very costly</a> to society, especially violent crimes, which are estimated to have costs in the hundreds of thousands or even millions of dollars.</p><p>Even if it were granted that there is a sizable divestment dividend, what would be the point if the reduction in the power of the police leads to an out of control increase in crime that does untold economic damage?</p><p>There are criminologists that would have the public believe that a <a href="https://www.city-journal.org/bolstering-police-forces-reduces-crime">science-based consensus</a> has formed around the positive capacity of police to prevent crime. In truth, there is still <a href="https://www.jstor.org/stable/25766109?mag=do-police-deter-crime&amp;seq=1#metadata_info_tab_contents">much debate</a> between criminologists on the evidence that police are effective at preventing crime. In many cases, the quality of the research that concluded more cops equal less crime was discovered to be poor, with <a href="https://daily.jstor.org/do-police-deter-crime/">only 9 out of 41 studies</a> passing muster in a 2005 meta-analysis that concluded the link between both police funding and force strength and crime was minimal.</p><p>As it turns out in reality, the police are likely <a href="https://theconversation.com/police-solve-just-2-of-all-major-crimes-143878">far less effective at responding to and preventing crime</a> than we are often lead to believe. The Canada-wide <a href="https://www150.statcan.gc.ca/t1/tbl1/en/tv.action?pid=3510002601">weighted crime clearance rates</a>, which give more importance to more severe crimes, were only 57.6% for violent crimes and 27.7% for non-violent crimes in 2019.</p><p>Even though police have been clearing only slightly more than half of crimes in Canada since at least 1998, a 2015 StatCan analysis found that all types of crime, violent crime included, <a href="https://www150.statcan.gc.ca/n1/pub/11-630-x/11-630-x2015001-eng.htm">underwent two decades of steady decline</a> from 1993 to 2013. The authors of that analysis attributed the decline to many factors including changes in inflation and unemployment, alcohol consumption, an aging population, and legislative changes: policing was notably absent from the analysis. That downward trend has reversed since 2015, with <a href="https://www150.statcan.gc.ca/n1/daily-quotidien/201029/dq201029a-eng.htm?indid=4751-2&amp;indgeo=0">most forms of crime increasing each year until 2019</a>, though overall crime rates still remain 9% lower than in 2009.</p><p>Finally, there are many ways to <a href="https://www.rollingstone.com/politics/politics-news/police-brutality-cop-free-world-protest-199465/">prevent and respond to crime and violence</a> that do not involve the police or the criminal justice system at all. Any <a href="https://static1.squarespace.com/static/6017561aa0646e0baa91251c/t/60257ae4703af042c3f2dd3e/1613069033514/NationalDefundingDocument_FINAL+%285%29.pdf">genuine program of police and prison divestment</a> would no doubt hinge on an encompassing strategy for preventing and responding to crime by investing in communities and reinvigorating vital public services.</p><p>An extensive study on the evidence on non-police based methods for <a href="https://johnjayrec.nyc/2020/11/09/av2020/">improving public safety</a> found promising evidence for interventions such as, but not limited to: improvements to the physical environment, expanding green space, public health campaigns, community-based organizing campaigns, programs to support youth, and mitigating people’s financial stress. All fruitful areas for reinvestment of police and prison funding.</p><h3>Limitations and future research</h3><p>I am aiming for this work to be a first step in further research on the political economy of police and prison divestment. There are a few limitations of this analysis that I hope to address in future research worth noting.</p><h4>Multipliers are frozen in time</h4><p>First, input-output multipliers only provide a static, slice of time type of analysis for the given year. It uses static calculations, not a complex model or simulation that can better represent functioning economic systems, let alone the complex social transformations involved in genuine police and prison divestment. StatCan releases multipliers rather infrequently and updates will always be lagged by several years. Input-output multipliers are often used in practice beyond the year they are issued for, but the usefulness of the estimates dissipates quickly as more time passes.</p><h4>Estimation and bias</h4><p>Second, the computed figures for GDP impact and job creation are only estimates, so a degree of over or under estimation is probable. Some authors have cautioned that closed input-output models may <a href="http://global-economics.ca/input.output.multipliers.pdf">overestimate the GDP and job creation impacts</a> to a degree, though to what extent isn’t easily determined. Additionally, there may be some overestimation because there are probably <em>some</em> indirect and induced impacts of spending on policing; however after an extensive search I am unaware of any existing study trying to estimate them.</p><p>On the other hand, there are also likely sources of underestimation. Should the costs of <a href="https://www.pivotlegal.org/17_years_of_police_violence_in_canada">police violence</a> be accounted for in the dividend calculations? What about the costs of <a href="https://www.thestar.com/news/canada/2014/05/18/rcmp_study_finds_hundreds_of_cases_of_corruption_in_mounties.html">police corruption</a>? Or the costs of <a href="https://www.cbc.ca/news/canada/british-columbia/bc-administrative-civil-forfeiture-data-part-one-1.5180022">property seizure</a>? If so, the dividend is most likely underestimated. At this level of analysis, it’s difficult to estimate how much either factor would influence the dividend.</p><h4>Regional variations</h4><p>For the sake of simplifying the initial analysis, geographic differences in the distribution of police and prison and redistribution of those funds into public and social services are abstracted away. StatCan does produce multiplier figures at the provincial level based on an inter-provincial input-output model. A next step is to account for the spatial dimension of police/prison divestment. It may end up being more fruitful to estimate the local or regional impacts of divestment in the future.</p><h4>Keynesian versus Marxist multipliers</h4><p>There are more issues related to the use of input-output multipliers, often called Keynesian multipliers, and the ultimately faulty analysis of capitalist political economy advanced by Keynesian economics. The <a href="https://thenextrecession.wordpress.com/2012/06/13/keynes-the-profits-equation-and-the-marxist-multiplier/">conventional Keynesian multiplier</a> relies on an understanding that consumption and not profitability is the main driver of investment under capitalism.</p><p>That means that if changes in public investment move the <a href="https://thenextrecession.wordpress.com/2013/01/13/multiplying-multipliers/">average profitability of capital</a>, the indirect and induced growth and job creation figures implied by the conventional multipliers will be off. Of course, it is also worth noting that nation-wide divestment from police and prisons at such a scale is not an incremental reform in a Keynesian stimulus package- defunding must be a movement towards abolition of the police, the violent enforcers of capitalist order, which itself is a necessary step in the abolition of capitalism.</p><h3>Data sources</h3><ul><li><a href="https://www150.statcan.gc.ca/n1/pub/85-002-x/2020001/article/00015-eng.htm">Connor, P. et al. 2020. “Police Resources in Canada, 2019.” Statistics Canada.</a>.</li><li><a href="https://www.csc-scc.gc.ca/publications/005007-4500-2017-2018-en.shtml">Correctional Service Canada. “Correctional Service Canada: 2017–18 Departmental Results Report.”</a></li><li><a href="https://www150.statcan.gc.ca/t1/tbl1/en/tv.action?pid=3610011301">StatCan. Table 36–10–0113–01, “Input-output multipliers, provincial and territorial, summary level.”</a></li><li><a href="https://www150.statcan.gc.ca/t1/tbl1/en/tv.action?pid=3610059401">StatCan. Accessed March 2021. Table 36–10–0594–01, “Input-output multipliers, detail level.”</a></li><li><a href="https://www150.statcan.gc.ca/t1/tbl1/en/tv.action?pid=3510007601">StatCan. Accessed March 2021. Table 35–10–0076–01, “Police personnel and selected crime statistics.”</a></li></ul><p><em>Originally published at </em><a href="https://ds4cs.netlify.app/post/the-police-and-prison-defunding-dividend/"><em>https://ds4cs.netlify.app</em></a><em> on June 9, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=931c20176827" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Excavating the Truth on Canadian Mining in Africa]]></title>
            <link>https://ds4cs.medium.com/excavating-the-truth-on-canadian-mining-in-africa-85149608033a?source=rss-641d5da6acaf------2</link>
            <guid isPermaLink="false">https://medium.com/p/85149608033a</guid>
            <category><![CDATA[canada]]></category>
            <category><![CDATA[mining]]></category>
            <category><![CDATA[socialism]]></category>
            <category><![CDATA[social-justice]]></category>
            <category><![CDATA[economics]]></category>
            <dc:creator><![CDATA[Data Science for Class Struggle]]></dc:creator>
            <pubDate>Thu, 03 Jun 2021 00:00:00 GMT</pubDate>
            <atom:updated>2021-06-04T05:11:24.536Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NHL76lF6VUiDh9rV3EbFuw.jpeg" /></figure><p>You may have heard that the world <a href="https://www.forbes.com/sites/globalcitizen/2021/02/08/why-the-world-needs-more-canada/?sh=649a608536cd">needs more Canada</a>, right? Many Canadians are <a href="https://www.ipsos.com/sites/default/files/2017-06/G@%20Dangerous%20World-Report-2017-06-13_0.pdf">not alone</a> in the prevalent illusion about Canada as friendly, benevolent force for good on the world stage. Such patriotic daydreams usually feature vague appeals to peacekeeping, diplomacy, human rights, tiny Canadian flags sewn to backpacks and other such clichés. The stark reality of Canada’s role in the world capitalist economy, specializing in <strong>imperialist resource extraction</strong>, could not stand in greater contrast.</p><p>Canadian capitalists have always been over-reliant on <a href="https://theoutline.com/post/8686/canada-is-fake?zd=2&amp;zi=zdhkuo5q">plundering natural wealth for profit</a>. As a settler-colonial nation, dispossession of Indigenous Peoples from their lands to facilitate ruthless exploitation of natural resources has always been a core component of Canada’s capitalist political economy. Mining was <a href="https://everydayorientalism.wordpress.com/2018/06/18/canadian-mining-and-settler-nationalism-legitimizing-possession-by-erasing-indigeneity-behind-the-guise-of-modernity-expertise-and-benevolence/">particularly crucial</a> in shaping the development of Canada as a settler-colonial extractive enterprise-therefore, it is no coincidence that today Canada is the <a href="http://canadianminingmagazine.com/the-mining-capital-of-the-world-a-review-of-imperial-canada-inc-legal-haven-of-choice-for-the-worlds-mining-industries">mining capital of the world</a>.</p><p>Naturally, the domestic drive of Canadian capital to dispossess in order to extract has been projected onto the backdrop of global capitalism. From a policy atmosphere of incredibly permissive regulations and lax taxation schemes for the industry, Canada has emerged as one of world’s most important facilitators of mining in the global capitalist economy.</p><p>In 2019, the <a href="https://www.nrcan.gc.ca/our-natural-resources/minerals-mining/minerals-metals-facts/minerals-and-the-economy/20529#trade">Toronto Stock Exchange (TSX)</a> hosted 48% of listed mining companies and was used to raise 56% of mining capital in the world. Among the most important Canadian enterprises listed on the TSX, over half are in the mining sector. Canadian owned corporations held over <a href="https://www.nrcan.gc.ca/maps-tools-and-publications/publications/minerals-mining-publications/canadian-mining-assets/canadian-mining-assets-cma-country-and-region-2018-and-2019/15406">$263B of mining assets abroad</a>. An astonishing figure for a country containing under 0.5% of the global population, holding over a <strong>quarter trillion dollars</strong> of mining capital across the world.</p><h3>The profile of Canadian mining in Africa</h3><p>To no small degree, the stability and prosperity of Canada is built on the colonial exploitation of both labour and natural wealth across the world. Mining companies, with the overt support from the state, leverage Canada’s position as a junior but active partner in an imperialist world system to maximize the transfer of wealth to the imperialist core. There are few more clear exemplars of Canada’s role in the global capitalist division of labour than the activities of Canadian mining corporations in Africa.</p><p><a href="https://cidpnsi.ca/canadian-mining-in-africa-2/">Detailed data</a> on the activities on Canadian mining corporations, whether domestically or abroad, is difficult to locate without painstakingly combing corporate filings or paid subscription services. However, StatCan does publishes limited summary level data on the activities of Canadian owned multinational corporations by region and industry. Analysis of this data displays the economic relationship between Canada and Africa with crystal clarity.</p><p>Canadian corporations go to Africa, for the most part, for one purpose only: <strong>resource extraction</strong>. It is truly striking how one dimensional Canadian investment in Africa is. Among Canadian owned multinational companies operating in Africa, from 2010 to 2018, mining and oil accounted for an average of 99% of assets, 98% of sales, and 95% of exploited workers on the continent. Though the mining and oil/gas extraction industries are grouped together in the StatCan data by a shared industrial category, the latter represents a much smaller investment. Canadian <a href="https://www.elibrary.imf.org/view/journals/087/2021/011/article-A001-en.xml?fbclid=IwAR3d0Tzo_MtnroYGXHJDPiRCUijv6NENEJL0SS-9GtUY2xsYPiW71_xTEd8">energy assets</a> account for only $3.3B of investment in Africa, just 8.6% of the value of mining assets.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u6mkY4EvePc0ulhhQBrH-w.png" /></figure><p>Natural Resources Canada publishes semi-annual country level data on Canadian owned mining assets across the world. In 2019, Canadian companies held about $38B in mining assets in Africa. The national economies of several of Africa’s poorest and most colonially exploited nations are dominated by Canadian mining corporations. In the four most heavily invested in countries, where 30 to 40 million people are likely living on under $5.50 a day, Canadian mining assets were worth a <strong>quarter to nearly half (45%) of the entire economy</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*LnXgv0t5IVgEoRmppihevQ.png" /></figure><p>Canadian companies owned $6.1B of mining assets in the Democratic Republic of Congo, making Canada a top investor in the second poorest country in the world, where over a <a href="https://www.magd.cam.ac.uk/system/files/2020-08/the_political_economy_of_super-exploitation_in_congolese_mineral_mining_-_peter_peckard_prize_2020_-_owen_dowling.pdf">century of imperialist pillaging of mineral wealth</a> has wrought a legacy of intense violence and suffering.</p><p>The eight most lucrative African countries for Canadian multinationals are mapped out below, showing the most recent poverty estimates (under $5.50/day) alongside the total operating revenues of Canadian firms from 2010 to 2018. StatCan does not disaggregate the sales data by industry at the country level; however, it is safe to assume that mining accounts for the vast majority of the total revenue. This is because mining and oil company sales never dips below 96% of goods sold by Canadian companies in Africa and NRC reports only a <a href="https://www.nrcan.gc.ca/sites/www.nrcan.gc.ca/files/energy/pdf/canadian%20energy%20asset_assets_e_acc%281%29.pdf">minimal</a> presence of Canadian energy assets in those countries.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xfGR87cAHz99PX2k757TYQ.png" /></figure><p>While the IMF recently declared 2010–2020 a <a href="https://www.elibrary.imf.org/view/journals/087/2021/011/article-A001-en.xml?fbclid=IwAR3d0Tzo_MtnroYGXHJDPiRCUijv6NENEJL0SS-9GtUY2xsYPiW71_xTEd8">lost decade</a> in economic terms for Africa, billions of dollars in sales from the proceeds of African mining was flowing through Canadian companies back to the imperial core. Clearly, it was not a lost decade for the Canadian extractive corporations with revenues of over $87B USD from selling off the resource wealth of Africa.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/217/1*2s670owAm3MK_O_Fa4UWsg.png" /></figure><p>Canadian mining corporations were involved in serious human rights violations in <strong>7 out of 8 countries on the map above</strong>. In <a href="https://ejatlas.org/conflict/gold-and-water-rush-in-burkina-fasos-essakane-mine">Burkina Faso</a> 16,000 were displaced by one company. A single mine in <a href="https://miningwatch.ca/blog/2005/8/25/canadian-mining-companies-destroy-environment-and-community-resources-ghana">Ghana</a> displaced over 30,000 and caused the country’s worst environmental disaster. Massacres and torture in <a href="https://miningwatch.ca/news/2020/2/11/barrick-faces-fresh-legal-battle-over-alleged-human-rights-abuses-tanzania">Tanzania</a>, mass displacement and illegal land grabs in <a href="https://miningwatch.ca/news/2020/2/11/barrick-faces-fresh-legal-battle-over-alleged-human-rights-abuses-tanzania">Zambia</a> and collaboration with a corrupt coup government in <a href="https://canadiandimension.com/articles/view/an-inconvenient-coup-canadas-disingenuous-response-to-malis-revolt-against-a-corrupt-government">Mali</a>. The list goes on and on.</p><h3>Moving on from mining</h3><p>As egregiously exploitative as Canadian mining in Africa is, it accounted for only 13% of mining/oil revenue and 14% of mining assets abroad in 2018. Operating revenue from Canadian mining and energy companies abroad was $122B in 2018, accounting for 35% of all sales of goods by Canadian multinational enterprises.</p><p>This pattern of imperialist resource exploitation grows from Canadian capitalism’s internal dependency on natural wealth extraction, which always necessitated an agenda of genocidal dispossession of the First Nations to inhabit this land.</p><p>Drastic transition away from a mode of production so utterly dependent on the mass extraction of natural wealth from stolen lands for maximum short term profit is absolutely necessity for Canada in the 21st century. This is especially true since an <a href="https://www.mckinsey.com/business-functions/sustainability/our-insights/climate-risk-and-decarbonization-what-every-mining-ceo-needs-to-know">85% reduction</a> in the greenhouse gas emissions of global mining is required in any plan to limit global warming to 1.5°C by 2050.</p><p>In a socialist economy characterized by <strong>rational and democratic planning for use rather than profit</strong>, mining activities and resource use in general can be decoupled from the ever-intensifying demands on the profit motive. By planning to produce only as much metal as needed (rather than how much is profitable) and <a href="https://waronwant.org/sites/default/files/2021-03/A%20Material%20Transition_report_War%20on%20Want.pdf">intensely emphasizing reuse of materials</a> (to a level that would destroy profitability under capitalism), mining can be reduced to the minimum needed by society, in accord with ecological limits to production.</p><p>Breaking with the <a href="https://www.tni.org/files/download/beyonddevelopment_extractivism.pdf">extractivist and colonialist logic of capitalism</a> is a necessary step in a process of decolonization of Canada. Any and all mining that occurs <strong>must</strong> only proceed by respecting the sovereign rights (including the right of refusal) of Indigenous Nations to their lands, including lands covered by <a href="https://miningwatch.ca/blog/2011/2/25/oral-promisesbroken-promises-shows-alternative-interpretation-ontarios-treaty-9">broken treaties</a> and the <a href="https://www.afn.ca/wp-content/uploads/2018/02/18-01-22-Dismantling-the-Doctrine-of-Discovery-EN.pdf">stolen so-called “Crown Lands”</a> where the vast majority of mining and resource extraction projects are found. This applies, of course, not just under a planned socialist economy in the context of decolonization, but also <em>right here, right now</em> under current <a href="https://thetyee.ca/Analysis/2020/12/04/Canada-UNDRIP-Promise">international law</a>, however unlikely it seems that the Canadian settler-capitalist state will <a href="https://www.aptnnews.ca/national-news/undrip-bill-c-15-federal-government-soverignty-russ-diabo/">commit in good faith</a> to following it.</p><h4>Data sources</h4><ul><li>Maps from: South, A. 2017. “rnaturalearthdata.” R package, version 1.0</li><li>NRC. 2021. “Canadian Mining Assets.” Information Bulletin, National Resources Canada.</li><li>NRC. 2018. “Canadian Energy Assets.” Information Bulletin, National Resources Canada.</li><li>StatCan. Table 36–10–0470–01, “Activities of Canadian multinational enterprises abroad, by country.” Accessed May 2020.</li><li>StatCan. Table 36–10–0440–01, “Activities of Canadian multinational enterprises abroad, by industry.” Accessed May 2021</li><li>World Bank. 2021. “Adjusted savings: mineral depletion (% of GNI); GDP (Current US$); Poverty headcount at $5.50 a day (2011 PPP).” World Development Indicators. World Bank, Global Poverty Working Group.</li></ul><p><em>Originally published at </em><a href="https://ds4cs.netlify.app/post/excavating-the-truth-on-canadian-mining-in-africa/"><em>https://ds4cs.netlify.app</em></a><em> on June 3, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=85149608033a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>