Check if the given ONS json is available

ensure_ons_api_available(ons_api)

Arguments

ons_api

string; GeoJSON url of a shape file. This can be found on the ONS geography portal

Value

TRUE if the API is available, otherwise an error will occur.