Giter Club home page Giter Club logo

scot_covid19's Introduction

Scot_covid19

Final update 26 April 2020. After exactly six weeks, and 120 commits to this repo, I've retired it. The data will no longer be updated.

It was only ever designed to be a stop gap for a week or so while Scottish Government started to publish the daily data contained in the static HTML page as open data.

As of Friday, SG now produce not only the XLSX files that they introduced 10 days or so ago, but now their own Github repo of CSVs. I've been helping them test the data over a couple of days.

Publication of that seems to be up to an hour after the offical HTML publication, but I know staff are doing this in their own time at weekends. The fact that it is being maintained openly and daily is great!

So, Ive advised all of those with whom I am in contact, who I know are using the data for analysis or data viz, to point their code at the new government repo.

Ian

Past updates

I've uploaded an improved scraper Get Daily Data.Ipynb. If you have Jupyter Notebooks you can download and run it for yourself. It is a scraper - so it is brittle. Any small change in the target page can break it - as has happened three times in development. I'm also now capturing NHS Scotland staff absences.

On 08 Apr 2020 the main Scottish Government page of Coronavirus information was moved to a new location. See data below.

On 02 Apr 2020__ Today the Scottish Government announced that the process for recording deaths had been changed. The data was updated tonight to reflect that.

I have added the number of patients in Intensive Care from news conferences attended by the First Minister or Chief Medical Officer.

I blogged about the need for better open data from the government in Scotland.

This primarily consists of text files (CSV) containing results of Covid-19 testing in Scotland.

Data

This now sits in a /data directory with subdirectory for raw and processed data.

Data Sources

  • The source of data from 06 March to 13 March 2020 is the Internet Wayback Machine.
  • From 14 March 2020 the data is sourced directly from the Scottish Government's webpage, and for now is manually added.
  • From 8th April 2020 the main Scottish Government Coronovirus information moved to this webpage although it appears that the page above is also still being maintained.
  • A friend supplied me with data from 24 Jan 2020 to 6th March to fill in gaps.

Contains public sector information licensed under the Open Government Licence v3.0.

Other data

I've added the Health Board codes from the NHS Scotland Open Data Store and a July 2019 poulation estimate file from NHS Scotland Open Data Store. Both are published under OGL.

Processed data

I've created a Jupyter Notebook, initial_data.ipynb which is used to calculate the 2018 populations of each Health Board, and save that as HB_Populations.csv.

Other resources

I also recommend Tom White's Github repo Covid-19-UK-Data which is broader and more code-driven for now. We may start collaborating / merging these.

scot_covid19's People

Contributors

jamiechung avatar watty62 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

scot_covid19's Issues

Further good work post

Sorry a bit late in typing this. It's nice that your repository was retired, and provided a bit of a nudge to get ScotGov to make their own github repository. Hopefully this will spur more data sharing like this in the future. Look forward to seeing what you are doing with your CodeTheCity work. With Thanks.

Regional deaths data

Hi,

The regional deaths csv seems to be incomplete from 18th March onward. Is that a lack of raw data?

Cheers

David

Good work!

Not really an issue. Just couldn't find a way of saying good work on archiving this data. I had made an effort to do it as well as couldn't believe that the data was not being historically archived!!!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.