Map NHS Hospital aggregated admissions. By default this maps the latest data provided.
map_admissions(admissions, shapefile, date, scale_fill)A data.frame of admissions data as produced by get_dadmissions.
Must contain the following variables: geo_code, date, and admissions
A shapefile defaults to england_utla_shape if not supplied.
A date variable (or vector) indicating when to plot data for. If
set to NULL then no date filter is applied
A ggplot2 scale_fill used to define the fill colours
used in the map. The default is:
scale_fill_viridis_c(option = "viridis", direction = -1, na.value = "grey80").
A map of Covid-19 admissions in England