Skip to contents

Produces a URL for a GET request to opendata.nhs.scot

Usage

request_url(action, query)

Arguments

action

The API endpoint you want to use, e.g., "package_show" / "datastore_search".

query

The query to pass to the endpoint defined by the action argument.

Value

a URL as a character string