Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mneedham/covid-vaccines
A Streamlit application to visualise the number of COVID vaccines done in the UK using the Altair visualisation library.
https://github.com/mneedham/covid-vaccines
altair covid-19 covid-vaccination covid19-data streamlit
Last synced: about 1 month ago
JSON representation
A Streamlit application to visualise the number of COVID vaccines done in the UK using the Altair visualisation library.
- Host: GitHub
- URL: https://github.com/mneedham/covid-vaccines
- Owner: mneedham
- License: cc0-1.0
- Created: 2021-03-27T15:07:11.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-06-22T09:24:30.000Z (over 3 years ago)
- Last Synced: 2024-04-14T09:10:03.179Z (10 months ago)
- Topics: altair, covid-19, covid-vaccination, covid19-data, streamlit
- Language: Jupyter Notebook
- Homepage: https://share.streamlit.io/mneedham/covid-vaccines/main/analyse.py
- Size: 34.1 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.adoc
- License: LICENSE.adoc
Awesome Lists containing this project
README
= COVID-19 vaccinations in the UK
This is a https://streamlit.io/[Streamlit^] application that makes it easier to visualise the number of COVID-19 vaccinations done in the UK across different dimensions.
It is deployed at https://share.streamlit.io/mneedham/covid-vaccines/main/app.py
== Getting Started
If you want to try it out, you'll need to first clone the repository:
```
git clone [email protected]:mneedham/covid-vaccines.git
cd covid-vaccines
```=== Install Dependencies
I use https://pypi.org/project/pipenv/[pipenv^] to manage my projects.
If you do too, you can install dependencies by running the following command:```
pipenv shell
```If not, you can install the dependencies using pip directly, as shown below:
```
pip install pandas streamlit xlrd openpyxl altair
```=== Running the application
Once you have the dependencies install, you can launch the Streamlit app using the following command:
```
streamlit run app.py
```You should see output similar to the following:
```
You can now view your Streamlit app in your browser.Local URL: http://localhost:8501
Network URL: http://192.168.86.26:8501
```Now, navigate to http://localhost:8501 to view the app.
If everything has worked, you should see something like the screenshot below:.Screenshot of Covid Vaccinations app
image::screenshots/screenshot.gif[title="Screenshot of Covid Vaccinations app"]== The Data
The data is in the https://github.com/mneedham/covid-vaccines/tree/main/data[data] directory and was downloaded from https://coronavirus.data.gov.uk/details/vaccinations.
* The data for "People who have received 1st dose vaccinations, by report date" is saved as `data/data_-dose1.csv`
* The data for "People who have received 2nd dose vaccinations, by report date" is saved as `data/data_-dose2.csv`