Skip to contents

Queries the NHS Organisation Data Service API (Organisation Reference Data - ORD) https://digital.nhs.uk/developer/api-catalogue/organisation-data-service-ord

Usage

t_api_organisations(role = "NHS TRUST", include_inactive = FALSE)

Arguments

role

character. One of c("NHS TRUST", "NHS TRUST SITE", "ICB", "SUB ICB LOCATION", "GP"). Defaults to "NHS TRUST".

include_inactive

logical. Include inactive trusts in the results? Defaults to FALSE.

Value

A dataframe of organisations.