organisation_codes: Search for details about a CCG or practice by code or name.

Description Usage Arguments Value Examples

Description

Search for details about a CCG or practice by code or name.

Usage

1
2
3
organisation_codes(organisation_code_or_name = NULL,
  CCG_code_or_name = NULL, practice_code_or_name = NULL,
  exact_name_or_code = NULL)

Arguments

organisation_code_or_name

The CCG/Practice's unique code, or part of its name.

CCG_code_or_name

The CCG unique code, or part of its name.

practice_code_or_name

The practice unique code, or part of its name.

exact_name_or_code

The CCG/Practice's exact code, or name.

Value

Returns details about a CCG or practice by code or name.

Examples

1
2
3
4
5
6
7
All organisations matching a code or name = organisation_codes(organisation_code_or_name= "Beaumont")
All CCGs matching a code or name = organisation_codes(CCG_code_or_name= "Gloucester")
#' All practices matching a code or name = organisation_codes(practice_code_or_name= "Gloucester")
All organisations exactly matching a code or name = organisation_codes(exact_name_or_code= "99H")
Or a variation of the above (with at least 1 organisation_code_or_name, CCG_code_or_name, practice_code_or_name, or exact_name_or_code).
N.B For now the use of multiple terms in one category requires "&q=", e.g organisation_codes(organisation_code_or_name= "Beaumont&q=Gloucester")
Read the [wiki](https://github.com/fergustaylor/openprescribingR/wiki) for more help.

fergustaylor/openprescribingR documentation built on May 31, 2019, 1:15 p.m.