Skip to content

The code found here creates graphs for the website www.COVIDREPORTS.UK Looking at data from the UK Government.

Notifications You must be signed in to change notification settings

L33t-dot-UK/COVID-Reports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COVID Reports Toolset

This toolset is fully documented, this documentation can be viewed at https://covidreports.l33t.uk/API

This toolset was designed to create charts found at http://www.COVIDreports.uk. It takes data from the government dashboard using version 1 of their API, cleans and processes it ready for use within Python

Depending on how you want to use the data you can get it in list form or as dataframes apart from vaccine and hospital data that can only be returned as a dataframe.

I have also included some functions to take hospital data that can be downloaded from https://www.england.nhs.uk/statistics/statistical-work-areas/covid-19-hospital-activity/ Monthly returns and put into graphs helping people to understand the data in better ways. The hospital data functions are a work in progress and are likely to change over time as this version of the code is slow and hard to use

runWebsite.py is an example script that shows you how to use the toolset and is what I use to create my graphs, runHospitalGraphs.py shows you how to use the ReadHospitalData class

All code can be found in the src folder and the complete toolset can be found in /src/toolset. data used for the graphs can be found in the data folder.

Easy to understand examples can be found in the examples folder and the documentation allowing you to create graphs quickly.

Virtual Environment

Instructions are in the venv folder on how to create a virtual environment using the requirements.txt file. Please do this the code will not work with upto date versions of pillow, matplotlib and pandas. Create a venv in accordance with the instrucitons and run the code in there. The code was tested with Python 3.8.2 using Microsoft Visual Studio.

Graphical User Interface

I'm currently working on a GUI that will allow users who do not know how to code to use the toolset to produce graphs. Due to my current workload beyond this project this may take some time.

Happy Coding

About

The code found here creates graphs for the website www.COVIDREPORTS.UK Looking at data from the UK Government.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages