Summarise the Trust mapping (currently only supports the UTLA mapping) both graphically and in a table.

summarise_mapping(
  trust = NULL,
  geography = NULL,
  mapping,
  shapefile,
  geo_names
)

Arguments

trust

A character string indicating a trust of interest.

geography

A character string indicating the geography of interest. Only used if trust is not specified. Related to the mapping used so for trust_utla_mapping refers to a UTLA.

mapping

A data.frame containing geo_code, trust_code, p_geo and p_trust.

shapefile

A shapefile defaults to england_utla_shape if not supplied.

geo_names

A data.frame containing geo_code and geo_name. Used to assign meaningful to geographies.

Value

A table and optional map summarising the admissions mapping.