{"id":2546,"date":"2020-05-11T15:20:26","date_gmt":"2020-05-11T03:20:26","guid":{"rendered":"http:\/\/blogs.lincoln.ac.nz\/gis\/?p=2546"},"modified":"2023-05-07T03:19:27","modified_gmt":"2023-05-07T03:19:27","slug":"being-fair-to-covid-19","status":"publish","type":"post","link":"https:\/\/blogs.lincoln.ac.nz\/gis\/being-fair-to-covid-19\/","title":{"rendered":"Being Fair to Covid-19"},"content":{"rendered":"<p><em>We take a look at mapping Covid-19 cases in New Zealand and how we can ensure that our interpretations are more realistic.\u00a0 MOH figures in this post are current as at 10 May 2020 at 9.00<\/em><\/p>\n<p>As we shift a bit closer to Level 2 and a perhaps bit more freedom, it may be an appropriate time to have a look at the spatial aspects of Covid-19.\u00a0 There are lots, but in this post we&#8217;ll look at mapping the cases and also trying to ensure that our interpretations are accurate.\u00a0 So, where to start?<\/p>\n<p>Let&#8217;s start with the Ministry of Health, who maintain a webpage of <a href=\"https:\/\/www.health.govt.nz\/our-work\/diseases-and-conditions\/covid-19-novel-coronavirus\/covid-19-current-situation\/covid-19-current-cases\" target=\"_blank\" rel=\"noopener noreferrer\">current case numbers<\/a>\u00a0with some useful information:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/MOHSummary.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2547\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/MOHSummary.jpg\" alt=\"\" width=\"191\" height=\"184\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/MOHSummary.jpg 345w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/MOHSummary-300x290.jpg 300w\" sizes=\"auto, (max-width: 191px) 100vw, 191px\" \/><\/a><\/p>\n<p>There&#8217;s even a map! (Thanks MOH):<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/map.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2548\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/map.jpg\" alt=\"\" width=\"771\" height=\"909\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/map.jpg 771w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/map-254x300.jpg 254w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/map-768x905.jpg 768w\" sizes=\"auto, (max-width: 771px) 100vw, 771px\" \/><\/a>This is, of course, a great way to present these data (I&#8217;m a bit biased, I know).\u00a0 But I fear these numbers don&#8217;t quite give us the full picture.\u00a0 Let me illustrate by recreating this map so we can play around with it a bit.<\/p>\n<p>First off, on that same webpage, the MOH lists the number of current cases by district health board (DHB) &#8211; here&#8217;s a screenshot from that page :<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/MOHTable.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2559\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/MOHTable.jpg\" alt=\"\" width=\"894\" height=\"695\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/MOHTable.jpg 894w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/MOHTable-300x233.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/MOHTable-768x597.jpg 768w\" sizes=\"auto, (max-width: 894px) 100vw, 894px\" \/><\/a><\/p>\n<p>As we&#8217;ve talked about in a <a href=\"http:\/\/blogs.lincoln.ac.nz\/gis\/turning-the-tables-on-tourism\/\">previous post<\/a>, while this is essentially a table of data, it&#8217;s spatial data by virtue of having the DHB names, which have locations (areas) implicit in them.\u00a0 Let&#8217;s start with those areas.\u00a0 I&#8217;ve got a copy of this on J: somewhere but in the short term, I went to <a href=\"http:\/\/koordinates.com\" target=\"_blank\" rel=\"noopener noreferrer\">Koordinates.com<\/a> and search on &#8220;health boards&#8221; &#8211; there were several versions listed there and I chose the latest one, from 2015:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/Koordinates2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2550\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/Koordinates2.jpg\" alt=\"\" width=\"1917\" height=\"898\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/Koordinates2.jpg 1917w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/Koordinates2-300x141.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/Koordinates2-1024x480.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/Koordinates2-768x360.jpg 768w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/Koordinates2-1536x720.jpg 1536w\" sizes=\"auto, (max-width: 1917px) 100vw, 1917px\" \/><\/a><a href=\"https:\/\/datafinder.stats.govt.nz\/layer\/87883-district-health-board-2015\/\" target=\"_blank\" rel=\"noopener noreferrer\">StatsNZ <\/a>also has a copy of the same layer.\u00a0 \u00a0Unfortunately, both extend beyond the coastline to take into about the 12\u00a0nautical mile <a href=\"https:\/\/www.linz.govt.nz\/sea\/nautical-information\/maritime-boundaries\/maritime-boundary-definitions#zones\" target=\"_blank\" rel=\"noopener noreferrer\">territorial sea b<\/a><a href=\"https:\/\/www.linz.govt.nz\/sea\/nautical-information\/maritime-boundaries\/maritime-boundary-definitions#zones\" target=\"_blank\" rel=\"noopener noreferrer\">aseline<\/a> &#8211; I can deal to that later.\u00a0 So I <a href=\"http:\/\/blogs.lincoln.ac.nz\/gis\/the-data-i-need-arent-on-the-j-drive\/\" target=\"_blank\" rel=\"noopener noreferrer\" data-wplink-edit=\"true\">downloaded<\/a> and unzipped a copy\u00a0 and here it is on the map below (note: I selected the\u00a012 nm sea baseline\u00a0polygon and just deleted it &#8211; that worked for most of the country except for the Nelson Marlborough DHB &#8211; I could remove that if I has a coastline polygon layer but I&#8217;m not going to worry about it for this.\u00a0 Also note that the Chathams are included\u00a0 with Canterbury):<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/DHBs.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2551\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/DHBs.jpg\" alt=\"\" width=\"1471\" height=\"785\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/DHBs.jpg 1471w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/DHBs-300x160.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/DHBs-1024x546.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/DHBs-768x410.jpg 768w\" sizes=\"auto, (max-width: 1471px) 100vw, 1471px\" \/><\/a><\/p>\n<p>With the table open you can see the DHB names there &#8211; that will be critical for our next step &#8211; adding the cases data.\u00a0 So back to the MOH webpage where I copied and pasted the values on the cases into an Excel spreadsheet:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/CasesTable.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2558\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/CasesTable.jpg\" alt=\"\" width=\"616\" height=\"728\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/CasesTable.jpg 616w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/CasesTable-254x300.jpg 254w\" sizes=\"auto, (max-width: 616px) 100vw, 616px\" \/><\/a><\/p>\n<p>Luck is on my side and doing a quick comparison, the names of the DHBs are <em>mostly<\/em> the same in the table and in the layer, so my table join will be pretty straightforward.\u00a0 I&#8217;ve got three issues though: macrons in Waitemata and Tairawhiti plus a space in &#8220;Mid Central&#8221; &#8211; my spatial layer has MidCentral.\u00a0 Before saving my spreadsheet, I&#8217;ll make those changes and ensure that the first row\u00a0attribute names\u00a0have no spaces, no crazy characters, none starting with a number, save it and add it to my map:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/TableOnMap2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2578\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/TableOnMap2.jpg\" alt=\"\" width=\"1531\" height=\"785\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/TableOnMap2.jpg 1531w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/TableOnMap2-300x154.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/TableOnMap2-1024x525.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/TableOnMap2-768x394.jpg 768w\" sizes=\"auto, (max-width: 1531px) 100vw, 1531px\" \/><\/a><\/p>\n<p>Note the &lt;Null&gt; values &#8211; these are due to spreadsheet cells that were blank.\u00a0 I&#8217;m just going to map the Total cases so I&#8217;m not worried about it but if I were I could do a Select by Attribute where &#8220;Deceased&#8221; IS NULL to select those records and change them to 0 with a field calculation.\u00a0 I would have to do that again for the Change attribute as I can only do field calculations one attribute at a time (<em>or,<\/em> I could have dealt to this in the spreadsheet before joining).<\/p>\n<p>Next, right-click on the layer name and go to Joins and R<a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/JoinTool-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2563 alignright\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/JoinTool-1.jpg\" alt=\"\" width=\"234\" height=\"339\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/JoinTool-1.jpg 324w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/JoinTool-1-207x300.jpg 207w\" sizes=\"auto, (max-width: 234px) 100vw, 234px\" \/><\/a>elates &gt; Add Join.\u00a0 The tool recognises the layer and the table and I just have to link up the attributes in each that holds the name.\u00a0 When I click Run those numbers get added to the layer&#8217;s attribute table:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/WithCases3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2579\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/WithCases3.jpg\" alt=\"\" width=\"466\" height=\"197\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/WithCases3.jpg 1432w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/WithCases3-300x127.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/WithCases3-1024x434.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/WithCases3-768x326.jpg 768w\" sizes=\"auto, (max-width: 466px) 100vw, 466px\" \/><\/a><\/p>\n<p>Now I&#8217;ve can use the case values in my map and can basically recreate the MOH&#8217;s map:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/MyMOHMap4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2570\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/MyMOHMap4.jpg\" alt=\"\" width=\"1696\" height=\"1940\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/MyMOHMap4.jpg 1696w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/MyMOHMap4-262x300.jpg 262w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/MyMOHMap4-895x1024.jpg 895w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/MyMOHMap4-768x878.jpg 768w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/MyMOHMap4-1343x1536.jpg 1343w\" sizes=\"auto, (max-width: 1696px) 100vw, 1696px\" \/><\/a><\/p>\n<p>Not an exact replica &#8211; the more I look at the MOH colour scheme the more I think it&#8217;s not linked to the values &#8211; more like a world map where colours are chosen to show different countries but no countries with a shared border have the same colour.\u00a0 On this map, the colours have more meaning: the darker the blue, the higher the case numbers.\u00a0 Anyway, we at roughly the same place as the MOH map now.<\/p>\n<p>But herein lies my issue with this map (and not just this one &#8211; many instances like this).\u00a0 On the face of it, we&#8217;re comparing the number of cases by region &#8211; sweet.\u00a0 But is it a fair representation?\u00a0 Are the regions <em>equal<\/em>?\u00a0 Equal enough that the comparison is valid?\u00a0 To put it another way, Southland and Waitemata have comparable values (216 vs 233).\u00a0 But there are a few differences between them &#8211; two obvious ones are area and population.\u00a0 The area one is pretty obvious just by looking at the map, but the population one is less so.\u00a0 I&#8217;m going to focus on the population &#8211; mainly because the number of cases per km<sup>2<\/sup> doesn&#8217;t seem to have much real-world meaning in this context.<\/p>\n<p>So, population &#8211; my first thought was StatsNZ as they are the ones doing the counting.\u00a0 My search of their data was fruitless, but I did find this from the Ministry of Health:<\/p>\n<p><a href=\"https:\/\/www.health.govt.nz\/new-zealand-health-system\/my-dhb\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-2552 size-full\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/DHB-MOH.jpg\" alt=\"\" width=\"1908\" height=\"971\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/DHB-MOH.jpg 1908w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/DHB-MOH-300x153.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/DHB-MOH-1024x521.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/DHB-MOH-768x391.jpg 768w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/DHB-MOH-1536x782.jpg 1536w\" sizes=\"auto, (max-width: 1908px) 100vw, 1908px\" \/><\/a><\/p>\n<p>Clicking through to each DHB shows a population estimate (from 2018) as text.\u00a0 Try as I might, I can&#8217;t find an easily downloadable table, so had to enter the values in region by region (couldn&#8217;t copy and paste &#8211; grrrrrrr&#8230;.) so had to carefully transpose by hand and double-check to make sure I didn&#8217;t make a mistake.\u00a0 Here&#8217;s the outcome, grouped by defined interval with an interval size of 200,000 people:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/DHBPopulations.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2555\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/DHBPopulations.jpg\" alt=\"\" width=\"1696\" height=\"1940\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/DHBPopulations.jpg 1696w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/DHBPopulations-262x300.jpg 262w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/DHBPopulations-895x1024.jpg 895w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/DHBPopulations-768x878.jpg 768w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/DHBPopulations-1343x1536.jpg 1343w\" sizes=\"auto, (max-width: 1696px) 100vw, 1696px\" \/><\/a><\/p>\n<p>The minimum population was the West Coast DHB at 32,410 while the maximum was 628,970 for Waitemata.\u00a0 Keeping in mind our earlier comparison, the population of Southern DHB is just over half of Waitemata at 329,890.\u00a0 The map also shows you the differences in their relative areas.<\/p>\n<p>Now I&#8217;ve got one layer with case numbers and populations in the table.<\/p>\n<p>What I want to do next is take the different DHB populations into account by dividing the case numbers by the population &#8211; standardising the values on a per capita basis.\u00a0 To do this I need to add a new field to the table and do a field calculation.<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/FieldCalc2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2582 alignright\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/FieldCalc2.jpg\" alt=\"\" width=\"250\" height=\"446\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/FieldCalc2.jpg 367w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/FieldCalc2-168x300.jpg 168w\" sizes=\"auto, (max-width: 250px) 100vw, 250px\" \/><\/a><\/p>\n<p>Steps:<\/p>\n<ul>\n<li>In the DHB table, add a new floating point attribute &#8211; I&#8217;ve called it CaseDense but its alias is &#8220;Case Density&#8221;<\/li>\n<li>Right-click on the attribute name and choose Field Calculator<\/li>\n<li>Divide the number of cases (Total) by the DHB region population<\/li>\n<li>Review the numbers &#8211; here&#8217;s a histogram and some summary statistics:<\/li>\n<\/ul>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/Stats.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2571\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/Stats.jpg\" alt=\"\" width=\"1517\" height=\"483\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/Stats.jpg 1517w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/Stats-300x96.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/Stats-1024x326.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/Stats-768x245.jpg 768w\" sizes=\"auto, (max-width: 1517px) 100vw, 1517px\" \/><\/a><\/p>\n<p>These numbers\u00a0are quite small so I&#8217;ll redo the calculation and multiply by 100,000 so that our numbers are now cases\/100,000 people &#8211; these numbers are a little easier to process:<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/Stats2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2572\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/Stats2.jpg\" alt=\"\" width=\"1522\" height=\"483\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/Stats2.jpg 1522w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/Stats2-300x95.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/Stats2-1024x325.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/Stats2-768x244.jpg 768w\" sizes=\"auto, (max-width: 1522px) 100vw, 1522px\" \/><\/a><\/p>\n<p>Same distribution as above but now the figures are a little easier to grasp.\u00a0 Okay &#8211; so let&#8217;s see that on the map, shall we?<\/p>\n<p><a href=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/CaseDensity2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-2575\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/CaseDensity2.jpg\" alt=\"\" width=\"1696\" height=\"1940\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/CaseDensity2.jpg 1696w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/CaseDensity2-262x300.jpg 262w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/CaseDensity2-895x1024.jpg 895w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/CaseDensity2-768x878.jpg 768w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/CaseDensity2-1343x1536.jpg 1343w\" sizes=\"auto, (max-width: 1696px) 100vw, 1696px\" \/><\/a><\/p>\n<p>Does this tell a different story from the original cases map?\u00a0\u00a0Arguably, yes.\u00a0 Southern DHB now has 65 cases\/100,000 people (rounded) and Waitemata has a value of 37 at half the population.\u00a0 I would argue that these make the differences between the DHBs more comparable because they allow us to take into account the differences in populations between the regions.\u00a0 Does it mean I should stay away from Southland?\u00a0 Maybe not &#8211; more room to spread out than Waitemata so then it becomes about the risk of exposure.\u00a0 Given the higher population in Waitemata\u00a0one&#8217;s exposure risk may be higher &#8211; but in either case, Social Distancing is the key!<\/p>\n<p><em>(By the by, there&#8217;s already a post bubbling away in my subconscious about some of the choices made on the map above&#8230;stay tuned.)<\/em><\/p>\n<p>In this same way, we could now more easily compare New Zealand&#8217;s case load to that of other countries and the comparison is fairer.\u00a0 Here, for example, are a few population weighted comparisons to finish things off (as of 5 May 2020.\u00a0 By comparison, we are about\u00a0305.8 cases per 1 million people as of today [11 May]):<\/p>\n<figure id=\"attachment_2576\" aria-describedby=\"caption-attachment-2576\" style=\"width: 585px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/www.statista.com\/chart\/21176\/covid-19-infection-density-in-countries-most-total-cases\/\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2576 size-full\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/WorldCases.jpg\" alt=\"\" width=\"585\" height=\"758\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/WorldCases.jpg 585w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/WorldCases-232x300.jpg 232w\" sizes=\"auto, (max-width: 585px) 100vw, 585px\" \/><\/a><figcaption id=\"caption-attachment-2576\" class=\"wp-caption-text\"><a href=\"https:\/\/www.statista.com\/chart\/21176\/covid-19-infection-density-in-countries-most-total-cases\/\" target=\"_blank\" rel=\"noopener noreferrer\"><em>https:\/\/www.statista.com\/chart\/21176\/covid-19-infection-density-in-countries-most-total-cases\/<\/em><\/a><\/figcaption><\/figure>\n<p>Luckily, someone&#8217;s done the hard work already of mapping the deaths per capita (note, deaths per million people &#8211; different from what we&#8217;ve been looking at):<\/p>\n<figure id=\"attachment_2556\" aria-describedby=\"caption-attachment-2556\" style=\"width: 1080px\" class=\"wp-caption alignnone\"><a href=\"https:\/\/ourworldindata.org\/coronavirus-data\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-2556 size-full\" src=\"https:\/\/d-blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/WorldbyPop.jpg\" alt=\"\" width=\"1080\" height=\"708\" srcset=\"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/WorldbyPop.jpg 1080w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/WorldbyPop-300x197.jpg 300w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/WorldbyPop-1024x671.jpg 1024w, https:\/\/blogs.lincoln.ac.nz\/gis\/wp-content\/uploads\/sites\/3\/2020\/05\/WorldbyPop-768x503.jpg 768w\" sizes=\"auto, (max-width: 1080px) 100vw, 1080px\" \/><\/a><figcaption id=\"caption-attachment-2556\" class=\"wp-caption-text\"><a href=\"https:\/\/ourworldindata.org\/coronavirus-data\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/ourworldindata.org\/coronavirus-data<\/a><\/figcaption><\/figure>\n<p>This sort of data comparison is fraught with problems &#8211; mainly due to how data are collected (i.e. is a death counted if it can be\u00a0directly tied to Covid-19 as well if it was from another condition arising from a Covid infection?\u00a0 The answer can differ from country to country), but these are the data that are available and we have to do the best we can with what we&#8217;ve got.<\/p>\n<p>No one likes Covid-19 though I suspect there are some virologists that probably have some grudging admiration of it.\u00a0 And I guess this post isn&#8217;t so much about being fair to Covid-19 as it is being fair to our interpretation of its effects.\u00a0 Covid-19&#8217;s\u00a0certainly not very concerned about being fair to us.\u00a0 Quite the opposite.\u00a0 But that&#8217;s what viruses do.<\/p>\n<p>In these early (?) days of the pandemic, we&#8217;ve been seeing lots of maps of cases and deaths and the story they tell is not always as fair as it might seem.\u00a0 With GIS, a picture (map) always tells a 1,000 words &#8211; as analysts and map makers, we always need to make sure that we&#8217;re telling a fair story.\u00a0\u00a0This post has been about data mainly, and how best to present it.\u00a0 Along the way, we saw (once again) the value of table joins and generally scrapping around for useful data.\u00a0 Mainly it&#8217;s been about being a responsible analyst and being fair to the data.<\/p>\n<p>Keep washing those hands!\u00a0 And maintain your buffer zones!<\/p>\n<p>C<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We take a look at mapping Covid-19 cases in New Zealand and how we can ensure that our interpretations are more realistic.\u00a0 MOH figures in this post are current as at 10 May 2020 at 9.00 As we shift a bit closer to Level 2 and a perhaps bit more freedom, it may be an [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2546","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/2546","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/comments?post=2546"}],"version-history":[{"count":1,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/2546\/revisions"}],"predecessor-version":[{"id":4103,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/posts\/2546\/revisions\/4103"}],"wp:attachment":[{"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/media?parent=2546"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/categories?post=2546"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.lincoln.ac.nz\/gis\/wp-json\/wp\/v2\/tags?post=2546"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}