The script datavis.R pulls data from the UK Coronavirus dashboard for England and creates the plots below. The script can be run from the command line by Rscript datavis.R
.
The script london_datavis.R does the same for London.
ONS population denominators are used instead of NIMS for vaccine coverage, the ONS data files are here and here.
Data type | Metric | Facet/group by | Lin/log | Y-scale | Link | comment |
---|---|---|---|---|---|---|
Vaccines | % 12y+ population per day and cumulatively | vaccine dose (1,2,3) | lin | fixed | link | |
Vaccines | % vaccinated cumulatively | 5-yr age bands | lin | fixed | link | |
Vaccines | % age group per day and cumulatively | 5-yr age bands | lin-log | fixed | link | |
Vaccines | abs num doses per day per age group | 5-yr age bands | lin | fixed | link | |
Vaccines | abs num doses per day per age group | 5-yr age bands | log | fixed | link | |
Vaccines | % age group per day | 5-yr age bands | lin | fixed | link | |
Vaccines | % age group per day | 5-yr age bands | log | fixed | link | |
Cases | % change of weekly sum | 25-year age bands, grouped by 5 year | lin | fixed | link | |
Cases | absolute number | 10-year age bands | lin/log | fixed/free | linear_nofacet linear_free_facet log_nofacet log_free_facet log_fixed_facet | from 2021/07/01 |
Cases | rate per million population | 10-year age bands | lin/log | fixed/free | linear_nofacet linear_free_facet log_nofacet log_free_facet log_fixed_facet | from 2021/07/01 |
Cases | normalised to Jan/2021 peak | 10-year age bands | lin/log | fixed/free | linear_nofacet linear_free_facet log_nofacet log_free_facet log_fixed_facet | from 2021/07/01 |
Hospital admissions | absolute number | 10-year age bands | lin/log | fixed/free | linear_nofacet linear_free_facet log_nofacet log_free_facet log_fixed_facet | from 2021/07/01 |
Hospital admissions | rate per million population | 10-year age bands | lin/log | fixed/free | linear_nofacet linear_free_facet log_nofacet log_free_facet log_fixed_facet | from 2021/07/01 |
Hospital admissions | normalised to Jan/2021 peak | 10-year age bands | lin/log | fixed/free | linear_nofacet linear_free_facet log_nofacet log_fixed_facet | from 2021/07/01 |
Deaths | absolute number | 10-year age bands | lin/log | fixed/free | linear_nofacet linear_free_facet log_nofacet log_free_facet log_fixed_facet | from 2021/07/01 |
Deaths | rate per million population | 10-year age bands | lin/log | fixed/free | linear_nofacet linear_free_facet log_nofacet log_free_facet log_fixed_facet | from 2021/07/01 |
Deaths | normalised to Jan/2021 peak | 10-year age bands | lin/log | fixed/free | linear_nofacet linear_free_facet log_nofacet log_free_facet | from 2021/07/01 |
Data type | Metric | Facet/group by | Lin/log | Y-scale | Link | comment |
---|---|---|---|---|---|---|
Vaccines | % 12y+ population per day and cumulatively | vaccine dose (1,2,3) | lin | fixed | link | |
Vaccines | % vaccinated cumulatively | 5-yr age bands | lin | fixed | link | |
Vaccines | % age group per day and cumulatively | 5-yr age bands | lin-log | fixed | link | |
Vaccines | abs num doses per day per age group | 5-yr age bands | lin | fixed | link | |
Vaccines | abs num doses per day per age group | 5-yr age bands | log | fixed | link | |
Vaccines | % age group per day | 5-yr age bands | lin | fixed | link | |
Vaccines | % age group per day | 5-yr age bands | log | fixed | link | |
Cases | % change of weekly sum | 25-year age bands, grouped by 5 year | lin | fixed | link | |
Cases | absolute number | 10-year age bands | lin/log | fixed/free | linear_nofacet linear_free_facet log_nofacet log_free_facet log_fixed_facet | from 2021/07/01 |
Cases | rate per million population | 10-year age bands | lin/log | fixed/free | linear_nofacet linear_free_facet log_nofacet log_free_facet log_fixed_facet | from 2021/07/01 |
Cases | normalised to Jan/2021 peak | 10-year age bands | lin/log | fixed/free | linear_nofacet linear_free_facet log_nofacet log_free_facet log_fixed_facet | from 2021/07/01 |
Hospital admissions | absolute number | 10-year age bands | lin/log | fixed/free | linear_nofacet linear_free_facet log_nofacet log_free_facet log_fixed_facet | from 2021/07/01 |
Hospital admissions | rate per million population | 10-year age bands | lin/log | fixed/free | linear_nofacet linear_free_facet log_nofacet log_free_facet log_fixed_facet | from 2021/07/01 |
Hospital admissions | normalised to Jan/2021 peak | 10-year age bands | lin/log | fixed/free | linear_nofacet linear_free_facet log_nofacet log_free_facet | from 2021/07/01 |
Deaths | absolute number | 10-year age bands | lin/log | fixed/free | linear_nofacet linear_free_facet log_nofacet log_free_facet log_fixed_facet | from 2021/07/01 |
Deaths | rate per million population | 10-year age bands | lin/log | fixed/free | linear_nofacet linear_free_facet log_nofacet log_free_facet log_fixed_facet | from 2021/07/01 |
Deaths | normalised to Jan/2021 peak | 10-year age bands | lin/log | fixed/free | linear_nofacet linear_free_facet log_nofacet log_facet | from 2021/07/01 |