Description Usage Arguments Value Examples
Search for details about a CCG or practice by code or name.
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)
 | 
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.  | 
Returns details about a CCG or practice by code or name.
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.
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.