<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Stuart A. Thompson</title>
	<atom:link href="http://www.stuartathompson.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stuartathompson.com</link>
	<description>A data journalist practicing multimedia journalism in Toronto</description>
	<lastBuildDate>Tue, 21 May 2013 06:54:03 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.2</generator>
		<item>
		<title>Five things you need to know about the budget</title>
		<link>http://www.stuartathompson.com/2013/05/five-things-you-need-to-know-about-the-budget/</link>
		<comments>http://www.stuartathompson.com/2013/05/five-things-you-need-to-know-about-the-budget/#comments</comments>
		<pubDate>Tue, 21 May 2013 06:54:03 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[Data]]></category>
		<category><![CDATA[The Globe and Mail]]></category>
		<category><![CDATA[Video]]></category>

		<guid isPermaLink="false">http://www.stuartathompson.com/?p=23166</guid>
		<description><![CDATA[Sometimes an interactive isn&#8217;t the right approach. I&#8217;ve recently been very interested in motion graphic videos. They can communicate complex ideas in a very engaging way. Plus they can look great too. I made this in Motion 5. Watch the full video]]></description>
			<content:encoded><![CDATA[
<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> 
<p>Sometimes an interactive isn&#8217;t the right approach. I&#8217;ve recently been very interested in motion graphic videos. They can communicate complex ideas in a very engaging way. Plus they can look great too. I made this in Motion 5.</p>
<p><a href="http://www.theglobeandmail.com/news/politics/budget/video-five-things-you-need-to-know-about-the-federal-budget/article10099397/">Watch the full video</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stuartathompson.com/2013/05/five-things-you-need-to-know-about-the-budget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Name in print&#8230; in a different way</title>
		<link>http://www.stuartathompson.com/2013/04/name-in-print-in-a-different-way/</link>
		<comments>http://www.stuartathompson.com/2013/04/name-in-print-in-a-different-way/#comments</comments>
		<pubDate>Sun, 07 Apr 2013 00:24:03 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[The Globe and Mail]]></category>

		<guid isPermaLink="false">http://www.stuartathompson.com/?p=23170</guid>
		<description><![CDATA[One of the greatest developments for me lately was the introduction of Politics Insider, the Globe&#8217;s new subscriber-only blog on national politics run by online politics editor Chris Hannay. I was invited to contribute every Wednesday, using data to give a new perspective on national affairs. I was surprised to see my name in an ad for the project. It&#8217;s a real honour appear beside the likes of André Picard and Konrad Yakabuski. I&#8217;m an ant among giants. &#160;]]></description>
			<content:encoded><![CDATA[
<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> 
<p>One of the greatest developments for me lately was the introduction of <a href="http://www.theglobeandmail.com/news/politics/globe-politics-insider/">Politics Insider</a>, the Globe&#8217;s new subscriber-only blog on national politics run by online politics editor Chris Hannay. I was invited to contribute every Wednesday, using data to give a new perspective on national affairs.</p>
<p>I was surprised to see my name in an ad for the project. It&#8217;s a real honour appear beside the likes of André Picard and Konrad Yakabuski. I&#8217;m an ant among giants.</p>
<p><a href="http://www.stuartathompson.com/wp-content/uploads/2013/04/photo1.jpg" rel="lightbox[23170]"><img class="aligncenter size-large wp-image-23173" title="photo" src="http://www.stuartathompson.com/wp-content/uploads/2013/04/photo1-640x480.jpg" alt="" width="640" height="480" /></a></p>
<p>&nbsp;</p>
<p><a href="http://www.stuartathompson.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-06-at-8.15.53-PM.png" rel="lightbox[23170]"><img class="aligncenter size-full wp-image-23171" title="Politics Insider" src="http://www.stuartathompson.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-06-at-8.15.53-PM.png" alt="" width="609" height="559" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stuartathompson.com/2013/04/name-in-print-in-a-different-way/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Searching the sunshine list: the 2012 edition</title>
		<link>http://www.stuartathompson.com/2013/04/searching-the-sunshine-list-the-2012-edition/</link>
		<comments>http://www.stuartathompson.com/2013/04/searching-the-sunshine-list-the-2012-edition/#comments</comments>
		<pubDate>Wed, 03 Apr 2013 06:44:58 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[Data]]></category>
		<category><![CDATA[The Globe and Mail]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.stuartathompson.com/?p=23154</guid>
		<description><![CDATA[I made an interactive for this last year, which was nominated for a Data Journalism Award. That one took a few weeks of dabbling. I made this one in a single night after putting it off for far too long. The end product used the Fusion Tables API to dynamically query the data from the dataset. I really wish we could easily create our own database installs with PHP, but the FTAPI worked quite well. It definitely has the highest  traffic and most engagement of any interactive I&#8217;ve made. This has less to do with the content and everything to do with it leading the home page for several hours that day. Promotion = traffic. No promotion = no traffic. Simple as that. View the entire interactive]]></description>
			<content:encoded><![CDATA[
<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> 
<p><a href="http://www.theglobeandmail.com/news/national/which-ontario-civil-servants-make-more-than-100000-explore-the-sunshine-list/article10476335/"><img class="aligncenter size-large wp-image-23155" title="Screen Shot 2013-04-03 at 2.43.12 AM" src="http://www.stuartathompson.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-03-at-2.43.12-AM-640x419.png" alt="" width="640" height="419" /></a></p>
<p>I made an interactive for this <a title="One of my interactives nominated for a Data Journalism Award" href="http://www.stuartathompson.com/2012/04/one-of-my-interactives-nominated-for-a-data-journalism-award/">last year</a>, which was nominated for a Data Journalism Award. That one took a few weeks of dabbling. I made this one in a single night after putting it off for far too long. The end product used the Fusion Tables API to dynamically query the data from the dataset. I really wish we could easily create our own database installs with PHP, but the FTAPI worked quite well.</p>
<p>It definitely has the highest  traffic and most engagement of any interactive I&#8217;ve made. This has less to do with the content and everything to do with it leading the home page for several hours that day. Promotion = traffic. No promotion = no traffic. Simple as that.</p>
<p><a href="http://www.theglobeandmail.com/news/national/which-ontario-civil-servants-make-more-than-100000-explore-the-sunshine-list/article10476335/">View the entire interactive</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stuartathompson.com/2013/04/searching-the-sunshine-list-the-2012-edition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dissecting Dickey&#8217;s data</title>
		<link>http://www.stuartathompson.com/2013/04/dissecting-dickeys-data/</link>
		<comments>http://www.stuartathompson.com/2013/04/dissecting-dickeys-data/#comments</comments>
		<pubDate>Wed, 03 Apr 2013 06:36:48 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[Data]]></category>
		<category><![CDATA[The Globe and Mail]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.stuartathompson.com/?p=23149</guid>
		<description><![CDATA[What a fun project this was. I contacted MLB to see if they had any data on R.A. Dickey, the Jays&#8217; new knuckleball pitcher. Did they? Ha! They have reams of data. In a spreadsheet. And they&#8217;ll email it to me right away. And answer questions promptly. The exact opposite of almost every government source I&#8217;ve ever reached in Canada. The beauty of working with professionals. The data had a multitude of columns, from batter name to pitch type to result and speed. But the most interesting potential came from the coordinates: it tracks where the ball leaves the pitcher&#8217;s hand and where it crosses the plate. Enough to reconstruct every pitch. I started working on a Raphael interactive (naturally — Raphael is the very best interactive engine in the market today in my opinion&#8230; yes, better than D3!). I designed an entire top-down version that tracked the ball&#8217;s movement from [...]]]></description>
			<content:encoded><![CDATA[
<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> 
<p><a href="http://www.theglobeandmail.com/sports/baseball/the-data-behind-ra-dickey-a-pitch-by-pitch-breakdown-of-his-2012-season/article10623044/"><img class="aligncenter size-large wp-image-23150" title="Screen Shot 2013-04-03 at 2.34.20 AM" src="http://www.stuartathompson.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-03-at-2.34.20-AM-640x374.png" alt="" width="640" height="374" /></a></p>
<p>What a fun project this was. I contacted MLB to see if they had any data on R.A. Dickey, the Jays&#8217; new knuckleball pitcher. Did they? Ha! They have reams of data. In a spreadsheet. And they&#8217;ll email it to me right away. And answer questions promptly. The exact opposite of almost every government source I&#8217;ve ever reached in Canada. The beauty of working with professionals.</p>
<p>The data had a multitude of columns, from batter name to pitch type to result and speed. But the most interesting potential came from the coordinates: it tracks where the ball leaves the pitcher&#8217;s hand and where it crosses the plate. Enough to reconstruct every pitch.</p>
<p>I started working on a Raphael interactive (naturally — Raphael is <em>the very best interactive engine in the market today</em> in my opinion&#8230; yes, better than D3!). I designed an entire top-down version that tracked the ball&#8217;s movement from pitcher to plate&#8230; but it wasn&#8217;t quite right. The arc algorithm was too complicated and the data didn&#8217;t show the knuckleball&#8217;s supposed &#8220;flutter&#8221; in flight. So I tried a front view instead, from the perspective of the batter.</p>
<p>People always ask how I make these things. It&#8217;s usually a lot of math, really, and a good understanding of JavaScript. I took the X and Z position of the ball in the pitcher&#8217;s hand and animated it to the position on the plate. I used several arrays to track all the balls in play so they could be filtered later. And I built a multipurpose search function that could take any variables and spit out the appropriate pitches. It&#8217;s actually one of my simplest interactives, technically speaking, but the end product is visually among my very best, I think.</p>
<p>And man, was it ever fun to make! My first sports data project. And it got a great reaction too. I&#8217;m so not used to this — most of my work is about politics and national news, which rarely garners excitement from the masses. If it gets attention, it&#8217;s usually criticism (but after being EIC of a student newspaper, you get very used to criticism).</p>
<p>For posterity&#8217;s sake, I just want to save some of these very nice comments from Twitter.</p>
<p>&#8220;<a href="https://twitter.com/bryanagraham/status/319105835206864896">What an insanely ambitious interactive</a>&#8221;</p>
<p>&#8220;<a href="http://twitter.com/phillipadsmith/status/319059812941983744">Lovely interactive for baseball fans</a>&#8221;</p>
<p>&#8220;<a href="https://twitter.com/recruittalk/status/319106615120916480">One of the coolest things I&#8217;ve ever seen</a>&#8221;</p>
<p>&#8220;<a href="https://twitter.com/Vol_Baseball/status/319217465991233537">Unbelievably cool</a>&#8221;</p>
<p>Thanks! Means a lot. And for what it&#8217;s worth, it got an hour or so on the homepage at some point. So that was nice too.</p>
<p><a href="http://www.theglobeandmail.com/sports/baseball/the-data-behind-ra-dickey-a-pitch-by-pitch-breakdown-of-his-2012-season/article10623044/">View the full interactive</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stuartathompson.com/2013/04/dissecting-dickeys-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Who Had It Tougher Time Machine</title>
		<link>http://www.stuartathompson.com/2013/03/the-who-had-it-tougher-time-machine/</link>
		<comments>http://www.stuartathompson.com/2013/03/the-who-had-it-tougher-time-machine/#comments</comments>
		<pubDate>Mon, 25 Mar 2013 06:48:40 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[Data]]></category>
		<category><![CDATA[The Globe and Mail]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.stuartathompson.com/?p=23158</guid>
		<description><![CDATA[This project took about a year. Really. Because we had to collect the data from a dozen sources in between other projects that kept demanding our time. But we finally got it out and it was a huge success. The incredible Rob Carrick wrote a great column to accompany the interactive. It looks at how young people today have it much worse than a generation ago. This is old hat to some people, but it&#8217;s never been dealt with so objectively before. We finally dug deep across several metrics to identify the trends. View the full interactive]]></description>
			<content:encoded><![CDATA[
<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> 
<p><a href="http://www.theglobeandmail.com/globe-investor/personal-finance/household-finances/proof-that-young-adults-have-it-worse-much-worse-than-30-years-ago/article10280516/"><img class="aligncenter size-large wp-image-23159" title="Screen Shot 2013-04-03 at 2.48.04 AM" src="http://www.stuartathompson.com/wp-content/uploads/2013/04/Screen-Shot-2013-04-03-at-2.48.04-AM-640x406.png" alt="" width="640" height="406" /></a></p>
<p>This project took about a year. Really. Because we had to collect the data from a dozen sources in between other projects that kept demanding our time. But we finally got it out and it was a huge success. The incredible Rob Carrick wrote a great column to accompany the interactive. It looks at how young people today have it much worse than a generation ago. This is old hat to some people, but it&#8217;s never been dealt with so objectively before. We finally dug deep across several metrics to identify the trends.</p>
<p><a href="http://www.theglobeandmail.com/globe-investor/personal-finance/household-finances/proof-that-young-adults-have-it-worse-much-worse-than-30-years-ago/article10280516/">View the full interactive</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stuartathompson.com/2013/03/the-who-had-it-tougher-time-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How Canada&#8217;s casino players are connected</title>
		<link>http://www.stuartathompson.com/2013/03/how-canadas-casino-players-are-connected/</link>
		<comments>http://www.stuartathompson.com/2013/03/how-canadas-casino-players-are-connected/#comments</comments>
		<pubDate>Sun, 17 Mar 2013 16:34:07 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[The Globe and Mail]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.stuartathompson.com/?p=23144</guid>
		<description><![CDATA[The Globe investigative team uncovered these connections between the OLG and other major casino players like MGM. We used this flowchart online to illustrate the connections. View the full interactive]]></description>
			<content:encoded><![CDATA[
<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> 
<p><a href="http://www.stuartathompson.com/wp-content/uploads/2013/03/Screen-Shot-2013-03-17-at-12.32.29-PM.png" rel="lightbox[23144]"><img class="aligncenter size-large wp-image-23145" title="Screen Shot 2013-03-17 at 12.32.29 PM" src="http://www.stuartathompson.com/wp-content/uploads/2013/03/Screen-Shot-2013-03-17-at-12.32.29-PM-640x432.png" alt="" width="640" height="432" /></a></p>
<p>The Globe investigative team uncovered these connections between the OLG and other major casino players like MGM. We used this flowchart online to illustrate the connections.</p>
<p><a href="http://www.theglobeandmail.com/news/toronto/casino-connections-how-mgm-the-olg-and-other-major-players-are-connected/article9843908/">View the full interactive</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stuartathompson.com/2013/03/how-canadas-casino-players-are-connected/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dissecting Canada&#8217;s &#8220;main estimates&#8221;</title>
		<link>http://www.stuartathompson.com/2013/03/dissecting-canadas-main-estimates/</link>
		<comments>http://www.stuartathompson.com/2013/03/dissecting-canadas-main-estimates/#comments</comments>
		<pubDate>Sun, 17 Mar 2013 16:31:28 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[The Globe and Mail]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.stuartathompson.com/?p=23140</guid>
		<description><![CDATA[We scraped data on Canada&#8217;s Main Estimates to create this interactive chart, showing how much things changed year-to-year. Explore the full interactive]]></description>
			<content:encoded><![CDATA[
<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> 
<p><a href="http://www.theglobeandmail.com/news/politics/interactive-pensions-up-defence-down-where-ottawa-plans-to-spend-and-cut/article9060870/"><img class="aligncenter size-full wp-image-23141" title="Screen Shot 2013-03-17 at 12.30.59 PM" src="http://www.stuartathompson.com/wp-content/uploads/2013/03/Screen-Shot-2013-03-17-at-12.30.59-PM.png" alt="" width="609" height="433" /></a></p>
<p>We scraped data on Canada&#8217;s Main Estimates to create this interactive chart, showing how much things changed year-to-year.</p>
<p><a href="http://www.theglobeandmail.com/news/politics/interactive-pensions-up-defence-down-where-ottawa-plans-to-spend-and-cut/article9060870/">Explore the full interactive</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stuartathompson.com/2013/03/dissecting-canadas-main-estimates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Plan for your RRSP</title>
		<link>http://www.stuartathompson.com/2013/03/plan-for-your-rrsp/</link>
		<comments>http://www.stuartathompson.com/2013/03/plan-for-your-rrsp/#comments</comments>
		<pubDate>Sun, 17 Mar 2013 16:29:24 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[The Globe and Mail]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://www.stuartathompson.com/?p=23137</guid>
		<description><![CDATA[I adapted this print graphic into an online interactive flow chart. Choose what type of investor you are and find custom advice. View the full interactive]]></description>
			<content:encoded><![CDATA[
<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> 
<p><a href="http://www.theglobeandmail.com/globe-investor/personal-finance/retirement-rrsps/try-it-plan-for-your-rrsp-future-with-this-simple-guide/article8482887/"><img class="aligncenter size-full wp-image-23138" title="Screen Shot 2013-03-17 at 12.28.29 PM" src="http://www.stuartathompson.com/wp-content/uploads/2013/03/Screen-Shot-2013-03-17-at-12.28.29-PM.png" alt="" width="617" height="432" /></a></p>
<p>I adapted this print graphic into an online interactive flow chart. Choose what type of investor you are and find custom advice.</p>
<p><a href="http://www.theglobeandmail.com/globe-investor/personal-finance/retirement-rrsps/try-it-plan-for-your-rrsp-future-with-this-simple-guide/article8482887/">View the full interactive</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stuartathompson.com/2013/03/plan-for-your-rrsp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Breaking rank: Investigating MP &#8220;loyalty&#8221;</title>
		<link>http://www.stuartathompson.com/2013/03/breaking-rank-investigating-mp-loyalty/</link>
		<comments>http://www.stuartathompson.com/2013/03/breaking-rank-investigating-mp-loyalty/#comments</comments>
		<pubDate>Sun, 17 Mar 2013 16:27:29 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[The Globe and Mail]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Writing]]></category>

		<guid isPermaLink="false">http://www.stuartathompson.com/?p=23135</guid>
		<description><![CDATA[As part of The Globe’s new series “Reinventing Parliament,” we decided to investigate how often Members of Parliament voted against the majority of their party. The undertaking took weeks of number crunching, programming and visualizing to put together. The end product shows a clear trend: MPs rarely break ranks, with most voting along party lines more than 97 per cent of the time. But Conservative MPs are overwhelmingly more likely to break rank than members from other parties. The project began by scraping 600 pages of parliamentary voting data. We designed a scraper in Python that trudged through these pages, scraping the MP’s name, party, riding and vote. All told, we had 162,280 votes between June 2, 2011 and Jan. 28, 2013. The next step was determining whether the MP voted with or against their party. We first believed we could check this against the whip’s vote. But we ran into [...]]]></description>
			<content:encoded><![CDATA[
<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> 
<p>As part of The Globe’s new series “Reinventing Parliament,” we decided to investigate how often Members of Parliament voted against the majority of their party. The undertaking took weeks of number crunching, programming and visualizing to put together. The end product shows a clear trend: MPs rarely break ranks, with most voting along party lines more than 97 per cent of the time. But Conservative MPs are overwhelmingly more likely to break rank than members from other parties.</p>
<p>The project began by scraping 600 pages of <a href="http://www.parl.gc.ca/housechamberbusiness/ChamberVoteList.aspx?Language=E" target="_blank">parliamentary voting data</a>. We designed a scraper in Python that trudged through these pages, scraping the MP’s name, party, riding and vote. All told, we had 162,280 votes between June 2, 2011 and Jan. 28, 2013.</p>
<p>The next step was determining whether the MP voted with or against their party. We first believed we could check this against the whip’s vote. But we ran into trouble when we realized the party whip was sometimes (unsurprisingly) absent. We decided to measure each MP’s vote against the majority of their party instead — a measure of 50 per cent plus one.</p>
<p>This was a two-step process. First, we ran another Python script on our scraped data to count the number of yeas and nays on each vote. We ran the resulting spreadsheet through another Python script to compare each MP’s vote. The script added a column to the original dataset indicating whether they voted the “same” as or “different” from the party.</p>
<p>This spreadsheet gave us the first usable data to measure party unity. We used Microsoft Access to run queries, starting by calculating the number of times an MP voted differently from their party. We ran another query to find the total number of votes for each MP. (While there are 600 votes total, each MP has a different attendance record.) Combined, we had a percentage score for party unity.</p>
<p>At each step of the process, we spot-checked and confirmed our results against the original raw data to ensure there were no irregularities. We found a few errors along the way and re-designed our queries or adjusted the Python scripts until we were confident the final data set had no errors.</p>
<p>Then we began the analysis. We started with a few questions. What was the most contentious vote? (It was No. 466, a motion to study the beginnings of life.) Who broke ranks most often? (By percentage, it was former NDP MP Bruce Hyer, who later became an independent MP. By raw total, it was Conservative MP James Bezan.) Did votes change with party leadership? (A few NDP MPs voted against the party before Thomas Mulcair became leader. Afterward, there were no dissenting votes.)</p>
<p>We supplemented this analysis with more parliamentary data. We scraped the information on each motion, which gave us more context like the purpose of the motion or who sponsored it. This made it easier to cross-reference party unity scores and explain the outliers. We also scraped information on all sitting MPs to add information like riding and title.</p>
<p>Finally, we created a short Python script for scraping MP photos from the Parliament website for use in the interactive. An arduous element of this step was correcting the file names for each MP, since they had to match MP names stored in the dataset so they could be dynamically added to the page when needed.</p>
<p>Then the process of visualizing the data began. We had three main goals with the visualization: 1) showing how many Conservatives voted against the majority of their party compared to MPs from other parties; 2) showing the high levels of party unity, despite the occasional dissenting vote; 3) allowing readers to see more detail about each motion or bill that the MP dissented on.</p>
<p>We settled on using <a href="http://d3js.org/" target="_blank">D3, a JavaScript library</a> that uses new web technologies to animate individual nodes in unique and interesting ways. The library also allowed us to re-arrange the data across several views. By colour-coding each node and separating MPs with some dissenting votes from those with none, we could immediately show the number of Conservative MPs who registered lower party unity scores.</p>
<p>D3 is a powerful library but it comes with one major caveat: its more advanced animations don’t display in Internet Explorer, which remains a pervasive browser among our readers. Other news organizations like the New York Times have previously not supported IE for these visualizations.</p>
<p>As a fallback, we decided to try<a href="http://raphaeljs.com/" target="_blank"> Raphael</a>, a fantastic JavaScript library that works in every browser but doesn’t have the more complex “force collision” capabilities of D3. We were able to export X and Y co-ordinates for each node and each view in the D3 visualization, giving us three sets of points from which we could build an entirely separate visualization. If a user visits the page in Internet Explorer, the code directs them through a Rapahel version of the script with animations and interactivity intact.</p>
<p>The <a href="http://www.theglobeandmail.com/news/politics/breaking-rank-how-often-do-mps-vote-against-their-own-party/article8141646/?from=8158653">end product</a> is hopefully an engaging example of data journalism, which lets readers explore the data and become more informed about the inner workings of Parliament.</p>
<p>&nbsp;</p>
<aside></aside>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p><a href="http://www.theglobeandmail.com/news/politics/conservative-mps-break-ranks-more-often-than-opposition/article8156279/?ord=1">Read the full story</a></p>
<p><a href="http://www.theglobeandmail.com/news/politics/breaking-rank-how-often-do-mps-vote-against-their-own-party/article8141646/">Explore with the full interactive</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.stuartathompson.com/2013/03/breaking-rank-investigating-mp-loyalty/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Western&#8217;s campus media under threat</title>
		<link>http://www.stuartathompson.com/2013/01/westerns-campus-media-under-threat/</link>
		<comments>http://www.stuartathompson.com/2013/01/westerns-campus-media-under-threat/#comments</comments>
		<pubDate>Wed, 16 Jan 2013 18:02:06 +0000</pubDate>
		<dc:creator>Stuart</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.stuartathompson.com/?p=23111</guid>
		<description><![CDATA[An open letter to all interested parties: It has come to my attention that the University Students’ Council is planning to move the Gazette and its 24 editors from its 40-year location to a much smaller office currently occupied by four people. As I understand, this plan was made surreptitiously without due consultation with the Gazette, its staff, or even multi-faith stakeholders at the centre of the issue. As former editor-in-chief of the Gazette, I have many grave concerns about this plan, not least of which is the Gazette’s ability to function as a key part of campus democracy, should this plan proceed. The publisher-newspaper relationship is a tenuous one, to be sure. As such, it’s always prudent on the publisher to be as open, transparent and accountable as possible so political influences and personal vendettas are not allowed to interfere with the newspaper’s autonomy and freedom. The decision to [...]]]></description>
			<content:encoded><![CDATA[
<!-- wp-jquery-lightbox, a WordPress plugin by ulfben --> 
<p><strong>An open letter to all interested parties:<br />
</strong><br />
It has come to my attention that the University Students’ Council is planning to move the Gazette and its 24 editors from its 40-year location to a much smaller office currently occupied by four people. As I understand, this plan was made surreptitiously without due consultation with the Gazette, its staff, or even multi-faith stakeholders at the centre of the issue. As former editor-in-chief of the Gazette, I have many grave concerns about this plan, not least of which is the Gazette’s ability to function as a key part of campus democracy, should this plan proceed.</p>
<p>The publisher-newspaper relationship is a tenuous one, to be sure. As such, it’s always prudent on the publisher to be as open, transparent and accountable as possible so political influences and personal vendettas are not allowed to interfere with the newspaper’s autonomy and freedom. The decision to move from one office to another is not a direct threat on press freedoms. But when the decision is made without due consultation and fair review of the consequences, the motivations become suspect. Is the publisher acting in the best interest of the newspaper? Is the student council acting in the best interest of its constituents? A review of the available information leads to me to conclude it is not.</p>
<p>The decision to move offices to a significantly smaller space has several consequences likely not considered in the publisher’s calculations. As a journalist now employed at The Globe and Mail, I can only credit The Gazette, its training, its welcoming environment and its community for my success. Many young volunteers use the Gazette as a launching pad for their careers, based in large part on the community fostered inside its space. The walls emanate tradition from dozens of previous editors who are now employed in the industry around the world. A newspaper is a collaborative effort made possible by an open space that fosters creativity, sparks imagination and enables collaboration. This is necessary for several aspects of its operations, from group story meetings, to cross-section collaboration, to daily editorial board meetings, which can involve 20 or 30 editors and volunteers gathered to discuss important issues of the day.</p>
<p>All of this and more has been threatened by the publisher’s decision. And I suspect none of it has been duly considered. The proposed space – which contains one receiving area, three small offices and one storage space – would quell collaboration. Editorial board meetings could not function. Volunteers would not have space to work, forcing them home or elsewhere, disrupting the editor-volunteer dynamic that was so crucial to my success.</p>
<p>The publisher must be exceedingly careful here; decisions against the wishes of the newspaper can be easily (mis)understood as sidelong political punishments. The recent turbulence between the student government and the campus newspaper is well documented. These same politicians are now in a position to affect The Gazette. And they appear to be doing so.</p>
<p>This controversy requires open, productive conversations between all interested groups. The furtive decision-making process by the publisher cannot continue.</p>
<p>I implore Western to review these decisions now affecting its campus newspaper, which would have grave consequences on its role in campus democracy. I ask the University Students’ Council to suspend its plan until a more thorough review of consequences and alternatives can be evaluated. I ask the Gazette’s editor to work in consult with the publisher to ensure transparency and accountability on all sides.</p>
<p>Please proceed with much caution. The decisions you make now will affect students, journalism and press freedoms for decades to come.</p>
<p>Sincerely,</p>
<p>Stuart Thompson</p>
<p>Gazette Editor-in-Chief – 2010-11</p>
<p><em>Tell the USC and Western they need to conduct a full review of all alternatives and consequences before pushing through this plan. Ask them to involve all parties in a collaborative discussion.  Contact usc.gm@uwo.ca, achakma@uwo.ca and USC.president@uwo.ca</em></p>
<p>Update (Jan. 17, 2013): USC President Adam Fearnall&#8217;s <a href="http://westernusc.ca/wp-content/uploads/2013/01/Dear-Stuart.pdf">responds to my letter</a></p>
<h2>Support from Twitter</h2>
<blockquote class="twitter-tweet"><p>Sad and angry to see what the students&#8217; council is doing to my beloved student newspaper. <a title="http://bit.ly/W0fceZ" href="http://t.co/SKTZPVhA">bit.ly/W0fceZ</a> @<a href="https://twitter.com/uwogazette">uwogazette</a> @<a href="https://twitter.com/western_usc">western_usc</a> — Ian Denomme (@IanDenomme) <a href="https://twitter.com/IanDenomme/status/291565971414589440" data-datetime="2013-01-16T15:21:59+00:00">January 16, 2013</a></p></blockquote>
<blockquote class="twitter-tweet"><p>Scott Feschuk, career maker. MT @<a href="https://twitter.com/stephenfgordon">stephenfgordon</a>: My first publication was in the UWO Gazette, edited by @<a href="https://twitter.com/scottfeschuk">scottfeschuk</a> : <a title="http://bit.ly/W7iaLS" href="http://t.co/OZFxY7eS">bit.ly/W7iaLS</a> — scottfeschuk (@scottfeschuk) <a href="https://twitter.com/scottfeschuk/status/291617705818206209" data-datetime="2013-01-16T18:47:33+00:00">January 16, 2013</a></p></blockquote>
<p>&nbsp;</p>
<blockquote class="twitter-tweet"><p>Adding my name to the list of Gazette alum who endorse this open letter by former EIC @<a href="https://twitter.com/stuartathompson">stuartathompson</a>: <a title="http://www.stuartathompson.com/2013/01/westerns-campus-media-under-threat/" href="http://t.co/glhTSodx">stuartathompson.com/2013/01/wester…</a> <a href="https://twitter.com/search/%23cdnpse">#cdnpse</a></p>
<p>— Kaleigh Rogers (@KaleighRogers) <a href="https://twitter.com/KaleighRogers/status/291612171308249089" data-datetime="2013-01-16T18:25:34+00:00">January 16, 2013</a></p></blockquote>
<p>&nbsp;</p>
<blockquote class="twitter-tweet"><p>I strongly endorse @<a href="https://twitter.com/stuartathompson">stuartathompson</a>&#8216;s open letter to Western U &amp; its students&#8217; council re @<a href="https://twitter.com/uwogazette">uwogazette</a> &amp; campus press <a title="http://bit.ly/13E6xBg" href="http://t.co/RcKh1S5B">bit.ly/13E6xBg</a></p>
<p>— Arden Zwelling (@ArdenZwelling) <a href="https://twitter.com/ArdenZwelling/status/291611046043611137" data-datetime="2013-01-16T18:21:05+00:00">January 16, 2013</a></p></blockquote>
<p>&nbsp;</p>
<blockquote class="twitter-tweet"><p>As a former EIC of @<a href="https://twitter.com/uwogazette">uwogazette</a>, I wholeheartedly agree w/ @<a href="https://twitter.com/stuartathompson">stuartathompson</a>&#8216;s open letter to @<a href="https://twitter.com/westernu">westernu</a> and @<a href="https://twitter.com/western_usc">western_usc</a>: <a title="http://www.stuartathompson.com/2013/01/westerns-campus-media-under-threat/" href="http://t.co/Koj6oewQ">stuartathompson.com/2013/01/wester…</a> — Jay Menard (@JayCMenard) <a href="https://twitter.com/JayCMenard/status/291609903896883201" data-datetime="2013-01-16T18:16:33+00:00">January 16, 2013</a></p></blockquote>
<p>&nbsp;</p>
<blockquote class="twitter-tweet"><p>The UWO Gazette deserves to be treated with respect &amp; given space on Western U&#8217;s sprawling campus that befits its long &amp; storied history. — City Lights Bookshop (@CityLightsLondn) <a href="https://twitter.com/CityLightsLondn/status/291590488019046400" data-datetime="2013-01-16T16:59:24+00:00">January 16, 2013</a></p></blockquote>
<p>&nbsp;</p>
<blockquote class="twitter-tweet"><p>So it seems the situation at my old student newspaper is getting a bit dicey: <a title="http://o.canada.com/2013/01/16/university-of-western-ontario-to-reduce-freedom-of-the-press-add-more-religion/" href="http://t.co/Op2Cgvnp">o.canada.com/2013/01/16/uni…</a> — aaronwherry (@aaronwherry) <a href="https://twitter.com/aaronwherry/status/291611462118567937" data-datetime="2013-01-16T18:22:45+00:00">January 16, 2013</a></p></blockquote>
<p>&nbsp;</p>
<blockquote class="twitter-tweet"><p>Rebuffed from sitting in on campus paper&#8217;s editorial meetings, student council weasels try banishment. Uber-classy! <a title="http://bit.ly/V8lYBG" href="http://t.co/azn4OdBj">bit.ly/V8lYBG</a> — Paul Wells (@InklessPW) <a href="https://twitter.com/InklessPW/status/291612264962854912" data-datetime="2013-01-16T18:25:56+00:00">January 16, 2013</a></p></blockquote>
<p>&nbsp;</p>
<blockquote class="twitter-tweet"><p>+1, minus “best student newspaper” guff @<a href="https://twitter.com/sproudfoot">sproudfoot</a>: Western&#8217;s SC shoving Gazette, best student newspaper in Cda, into a closet: angering — Andrew Coyne (@acoyne) <a href="https://twitter.com/acoyne/status/291592569366921216" data-datetime="2013-01-16T17:07:40+00:00">January 16, 2013</a></p></blockquote>
<p>&nbsp;</p>
<blockquote class="twitter-tweet"><p>I hope for the <a href="https://twitter.com/search/%23westernu">#westernu</a> student council&#8217;s sake that they&#8217;re not bullying the campus newspaper @<a href="https://twitter.com/uwogazette">uwogazette</a> <a href="https://twitter.com/search/%23ldnont">#ldnont</a> <a title="http://tiny.cc/7mn0qw" href="http://t.co/dOFGarBE">tiny.cc/7mn0qw</a></p>
<p>— Pat Maloney (@PatatLFPress) <a href="https://twitter.com/PatatLFPress/status/291609909018120193" data-datetime="2013-01-16T18:16:34+00:00">January 16, 2013</a></p></blockquote>
<blockquote class="twitter-tweet" data-in-reply-to="291621008937472000"><p>@<a href="https://twitter.com/ardenzwelling">ardenzwelling</a> Everything I did at the Gazette was more important and fulfilling than anything I ever did in j-school.</p>
<p>— Shannon Proudfoot (@sproudfoot) <a href="https://twitter.com/sproudfoot/status/291621805561634817" data-datetime="2013-01-16T19:03:51+00:00">January 16, 2013</a></p></blockquote>
<p>&nbsp;</p>
<blockquote class="twitter-tweet"><p>I&#8217;m a @<a href="https://twitter.com/uwogazette">uwogazette</a> alum who has equally loved and been critical of the paper. But supporting this is a no-brainer: <a title="http://www.stuartathompson.com/2013/01/westerns-campus-media-under-threat/" href="http://t.co/eqPQEMyJ">stuartathompson.com/2013/01/wester…</a></p>
<p>— Mallory Daley (@mallorydaley) <a href="https://twitter.com/mallorydaley/status/291623262251806720" data-datetime="2013-01-16T19:09:38+00:00">January 16, 2013</a></p></blockquote>
<p>&nbsp;</p>
<blockquote class="twitter-tweet"><p>In total solidarity with @<a href="https://twitter.com/uwogazette">uwogazette</a> <a title="http://bit.ly/10cErOK" href="http://t.co/seFguzkl">bit.ly/10cErOK</a> Thanks @<a href="https://twitter.com/stuartathompson">stuartathompson</a>. Don&#8217;t mess with the press.</p>
<p>— Ron Nurwisah (@boyreporter) <a href="https://twitter.com/boyreporter/status/291624551194963968" data-datetime="2013-01-16T19:14:45+00:00">January 16, 2013</a></p></blockquote>
<p>&nbsp;</p>
<blockquote class="twitter-tweet"><p>Disturbing. What&#8217;s going on with @<a href="https://twitter.com/westernu">westernu</a> student council&#8217;s desire tocontrol/move @<a href="https://twitter.com/uwogazette">uwogazette</a> campus newspaper? <a title="http://bit.ly/10cpvAb" href="http://t.co/d6baGaC0">bit.ly/10cpvAb</a></p>
<p>— Jim Rankin (@Jleerankin) <a href="https://twitter.com/Jleerankin/status/291632293418766336" data-datetime="2013-01-16T19:45:31+00:00">January 16, 2013</a></p></blockquote>
<p>&nbsp;</p>
<blockquote class="twitter-tweet"><p>The @<a href="https://twitter.com/uwogazette">uwogazette</a> is one of the best student run papers in the country. @<a href="https://twitter.com/western_usc">western_usc</a> Leave one of your best services alone!!! @<a href="https://twitter.com/stuartathompson">stuartathompson</a></p>
<p>— Fiona Simpson (@Blunt_Logic) <a href="https://twitter.com/Blunt_Logic/status/291656343566303232" data-datetime="2013-01-16T21:21:05+00:00">January 16, 2013</a></p></blockquote>
<p>&nbsp;</p>
<blockquote class="twitter-tweet"><p>Much of my success so far has been attributed to the @<a href="https://twitter.com/uwogazette">uwogazette</a>. @<a href="https://twitter.com/westernu">westernu</a>- please leave it alone <a title="http://www.stuartathompson.com/2013/01/westerns-campus-media-under-threat/" href="http://t.co/1NZSTiUT">stuartathompson.com/2013/01/wester…</a> via @<a href="https://twitter.com/stuartathompson">stuartathompson</a></p>
<p>— Jessica Grossman (@JessGrossman) <a href="https://twitter.com/JessGrossman/status/291653266511646720" data-datetime="2013-01-16T21:08:52+00:00">January 16, 2013</a></p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.stuartathompson.com/2013/01/westerns-campus-media-under-threat/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
