Description Usage Arguments Value Notes See Also Examples
Extracts full ODS data for a single organisation from the NHS Digital ODS ORD API into a list of length 1.
1 | getODSfull(ODSCode, UseProxy = FALSE)
|
ODSCode |
The organisation to return details for; quoted string; no default |
UseProxy |
Whether to use proxy settings to connect to the directory.spineservices.nhs.uk/ODSAPISuite API. If TRUE, the function will look for a UseProxy.csv file in the package library extdata directory. The file must contain a single row of comma separated headers (url, port, username, password, auth) and a second row specifying the values to be passed to each of these httr::use_proxy() function arguments. All Argument headers must be present, leave values blank if not required. Quoted string, default FALSE |
returns a list of length 1 containing the full details for the Organisation including: Name, Legal and Operational Start and End Dates, Status, Last Change Date, Organisation Record Class, Address, Postcode, Contact Information, Roles and Relationships to other Organisations
View the NHS Digital ODS API Implementation Guide at
https://developer.nhs.uk/library/identifiers/ods-ord-api-implementation-guide/
View the NHS Digital ODS API Suite at https://directory.spineservices.nhs.uk/ODSAPISuite
Other odsR package functions:
OrgRelLkpGP()
,
OrgRelLkpNHSTrust()
,
addorgname()
,
getODS()
1 2 | # return full Organisation data for RRF12
getODSfull(ODSCode="RRF12")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.