This function queries the ODS Roles API.

ods_get_roles()

Value

A tibble containing the roles that can be used to query the ODS organisations api (with ods_get_organisations)

Details

Each organisation that is in the ODS organisations API will have a primary role (e.g. NHS TRUST) and can have secondary roles. These role ids can be used to query the Organisations api.

Examples

if (FALSE) { ods_get_roles() }