ensure_ons_api_available: Check if the given ONS json is available

View source: R/utils.R

ensure_ons_api_availableR Documentation

Check if the given ONS json is available

Description

Check if the given ONS json is available

Usage

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.


PublicHealthEngland/fingertipscharts documentation built on Sept. 21, 2023, 10:31 p.m.