Combine zones and return a region

cc_get_region(
  regions = pct::pct_regions,
  zone_text = "manc|yorks|lanc|chesh|liv|north-e|north-y|cumbria|humb"
)

Arguments

regions

Regional dataset

zone_text

Regex to identify regions to group together

Value

sf object

Examples

cc_get_region()
#> Geometry set for 1 feature #> geometry type: MULTIPOLYGON #> dimension: XY #> bbox: xmin: -3.638893 ymin: 52.94717 xmax: 0.1392486 ymax: 55.80455 #> CRS: NA
#> MULTIPOLYGON (((-2.031058 53.37026, -2.008998 5...