{"id":1917,"date":"2021-02-12T13:59:08","date_gmt":"2021-02-12T13:59:08","guid":{"rendered":"http:\/\/blog.soton.ac.uk\/webteam\/?p=1917"},"modified":"2021-02-15T10:51:26","modified_gmt":"2021-02-15T10:51:26","slug":"love-data-week-covid-data","status":"publish","type":"post","link":"https:\/\/blog.soton.ac.uk\/webteam\/2021\/02\/12\/love-data-week-covid-data\/","title":{"rendered":"Love data week: COVID Data"},"content":{"rendered":"<p>It&#8217;s love data week starting Monday 15th February. I like playing with data but am so better at finding interesting ways to visualise it than I am at interpreting it!<\/p>\n<div id=\"attachment_1918\" style=\"width: 310px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-1918\" class=\"wp-image-1918 size-medium\" src=\"http:\/\/blog.soton.ac.uk\/webteam\/files\/2021\/02\/Screenshot_2021-02-12-UK-COVID-Death-in-perspective-300x139.png\" alt=\"\" width=\"300\" height=\"139\" srcset=\"https:\/\/blog.soton.ac.uk\/webteam\/files\/2021\/02\/Screenshot_2021-02-12-UK-COVID-Death-in-perspective-300x139.png 300w, https:\/\/blog.soton.ac.uk\/webteam\/files\/2021\/02\/Screenshot_2021-02-12-UK-COVID-Death-in-perspective-768x355.png 768w, https:\/\/blog.soton.ac.uk\/webteam\/files\/2021\/02\/Screenshot_2021-02-12-UK-COVID-Death-in-perspective-1024x473.png 1024w, https:\/\/blog.soton.ac.uk\/webteam\/files\/2021\/02\/Screenshot_2021-02-12-UK-COVID-Death-in-perspective.png 1476w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><p id=\"caption-attachment-1918\" class=\"wp-caption-text\">As of the 6th of February, more people in Britain have died with a COVID diagnosis than the entire population of Ealing.<\/p><\/div>\n<p>The data that impacts all of our lives right now is the UK COVID statistics. Helpfully, these are <a href=\"https:\/\/coronavirus.data.gov.uk\/details\/developers-guide\">available from an API<\/a>. My first idea for this data was to try to find a way for the numbers to land with people in an emotional way. I hit on the idea of showing milestones in UK COVID deaths in terms of city populations, getting the data from DBPedia. However this was a bit sparse so I expanded it to any &#8220;UK settlement of 1000 or more&#8221;. Sadly, we were already past that threshold when I wrote it. You can see my <a href=\"https:\/\/www.southampton.ac.uk\/~totl\/UKCOVID\/\">COVID cities tool<\/a> on the web, and the code is available from <a href=\"https:\/\/github.com\/cgutteridge\/ukcovidcities\">GitHub<\/a>.<\/p>\n<p>I thought a lot about how R is a terrible value for public understanding. R=0.9 good, R=1.1&nbsp; bad. It&#8217;s a&nbsp; measure of change in scale but not in a format anybody uses in their daily lives. I figured the one place the public are comfortable with exponential growth rates is mortgages so a clearer number would be, say, (R-1)*100 which would give a +\/- percentage of new cases per case. But R is also very difficult to relate to what&#8217;s going on and what&#8217;s likely to happen next. It also really matters what the current number of cases are. Occasional spikes in R when there&#8217;s 10 cases a day isn&#8217;t a big concern. When there&#8217;s 1000 cases a day it really is. So after a lot of though I&#8217;ve made a visualisation that shows things I think are more useful for public understanding of what&#8217;s going on with COVID.<\/p>\n<p><a href=\"http:\/\/blog.soton.ac.uk\/files\/Screenshot_2021-02-12-COVID-stats.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-523488 size-large\" src=\"http:\/\/blog.soton.ac.uk\/files\/Screenshot_2021-02-12-COVID-stats-133x1024.png\" alt=\"\" width=\"133\" height=\"1024\"><\/a>My <a href=\"https:\/\/www.southampton.ac.uk\/~totl\/UKCOVID\/projection.php\">COVID projection page<\/a> shows the data I think is useful. The grey barchart is the 7 day averaged number of cases. The green &amp; red bar is the daily change (this is very smoothed out by working out the weekly change in the 7 day average and converting that to a daily change. I think this is a really good indicator of when things were getting worse and better rather than the case numbers themselves. To make the recent values visible I truncated the really big growth from earlier in the year so it didn&#8217;t skew the scale too much.<\/p>\n<p>Next I wrote a function to work out how long it is taking cases to double or halve. I think this is a really good way to explain why the virus is different to cancer. This virus can double in cases every three days which sounds more like a loan shark than a mortgage. Writing this equation meant that I used log() for the first time in a really long time!<\/p>\n<p>The final column is what I think of as the &#8220;EEEP!&#8221; factor. It projects today&#8217;s cases (not the 7 day average) by the current growth rate for 28 days and sees where we&#8217;re heading for if things don&#8217;t change. For this to be a concern cases have to be high AND increasing. I think that EEEP! factor is good for showing why lockdowns were needed.<\/p>\n<p>The final feature I added is to mark weekends and the national lockdowns and other events &#8211; although this is complicated buy the fact that NI, Wales, England &amp; Scotland may not quite be doing the same thing as each other.<\/p>\n<p>You can see that lockdowns followed peaks in the &#8220;EEEP!&#8221; factor, although lockdown #2 was several weeks after Eeeeep #2.<\/p>\n<p>What it does show is that contrary to what you&#8217;d believe from my Facebook feed, there was a sustained fall in cases for many weeks after the Cummings incident. It makes it very visible when lockdowns started working and it does show a few notable spikes in the <em>rate of <\/em><em>increase<\/em> &#8211; red peaks in the red\/green column, which suggest something caused them in the days or weeks before hand.<\/p>\n<p>Notable peaks in the rate of increase were July 8th, September 12th, October 9th, December 22nd, Jan 4th. I&#8217;m tempted to correlate Schools and Universities reopening and Christmas&nbsp; to explain the Sept, Oct and Jan peaks but correlation\/causation and all that. I have no guess at what caused the spikes in July &amp; December. Any ideas?<\/p>\n<p>I&#8217;m not an expert at interpreting data so please don&#8217;t quote my interpretations of this data as a source of truth!<\/p>\n<p>[UPDATE: I got inspired this morning to add a new column, &#8220;Doublings&#8221; which shows how many times cases have to halve to get back to 1 case. Obviously by that point cases from borders will be more of an issue that community transmission, but it&#8217;s sobering to see that with lockdown it takes two weeks to halve and to get to 1 case would take exactly half a year, so mid-August. Hopefully Summer and vaccines will change this picture]<\/p>\n","protected":false},"excerpt":{"rendered":"<p>It&#8217;s love data week starting Monday 15th February. I like playing with data but am so better at finding interesting ways to visualise it than I am at interpreting it! The data that impacts all of our lives right now is the UK COVID statistics. Helpfully, these are available from an API. My first idea [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1917","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/posts\/1917","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/comments?post=1917"}],"version-history":[{"count":3,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/posts\/1917\/revisions"}],"predecessor-version":[{"id":1921,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/posts\/1917\/revisions\/1921"}],"wp:attachment":[{"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/media?parent=1917"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/categories?post=1917"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.soton.ac.uk\/webteam\/wp-json\/wp\/v2\/tags?post=1917"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}