This is the source code for the Coronavirus Dashboard serving the home page and postcode page.
The API supplies the latest data for the COVID-19 outbreak in the United Kingdom.
The endpoint for the data provided using this SDK is:
https://api.coronavirus.data.gov.uk/v1/data
Documentations for the API, including the latest metrics, are available on the Developers Guide page.
We have also developed software development kits (dedicated libraries) in several programming languages to facilitate access to the API:
- Python library is available on GitHub® and is published on PyPI.
- JavaScript library is available on GitHub® and is published on GitHub® Packages and NPM.
- R library is available on GitHub® and has been submitted to CRAN for publication.
- .Net library is available of GitHub® and is published on NuGet.
- Elixir library is available on GitHub®.
Different parts of the Coronavirus dashboard service are maintained in their respective repositories, itemised as follows:
- API v.1 - Main API service for the data, lookup tables, CMS, and metadata.
- API v.2.0 - Batch downloads service [DEPRECATED in favour of v2.1]
- API v.2.1 - Batch downloads service
- Generic APIs - APIs that power the map, navigation, hierarchy, and relations
- Coronavirus Dashboard - Details pages
- Easy-Read Server - Easy-read pages and PDF generator
- Layout CMS - Definition of contents
- Metadata - Description of metrics and textual contents
- ETL Service - Post-pipeline data processing and deployment
- Terraform - Infrastructure as Code [DEPRECATED in favour of ARM templates]
We welcome contributions by everyone. Please read the contributions guide for additional information.
We have a public project management board that shows outstanding issues to which everyone can contribute. Pick a ticket, assign it to yourself and move it to the Doing column, and you will be all set to start. There is also the outstanding issues from which you can choose, but let us know that you are working on it so that multiple people don't end. up doing the same task.
No contribution is too small. We welcome help from everyone. Get in touch if you need additional information. We are here to help.
You are welcome to use the GOV.UK patterns and frontend code even if your service isn’t considered part of GOV.UK. Although you will sometimes need to use different patterns, for example if you are building something like an admin interface.
While you can use the patterns, your site or service must not:
- identify itself as being part of GOV.UK
- use the crown or GOV.UK logotype in the header
- use the GDS Transport typeface
- suggest that it’s an official UK government website if it is not
These things are there to provide a consistent identity and navigation between GOV.UK and the sites and transactional services that hang off it. If your service isn’t on GOV.UK, there’s no need to maintain that identity - in fact, you might confuse or mislead people if you do.
You should also use the brand logo and font of your organisation.
Please consult the GOV.UK Service Manual for additional information.
This service is developed and maintained by UK Health Security Agency.