Description Usage Arguments Value Examples
Search for the locations of all (GP) practices, by code. Returns GeoJSON or sfc.
1 | location_function(CCG_code, as_sf = TRUE/FALSE)
|
CCG_code |
A code assigned to each CCG, found using organisation_details(). |
as_sf |
If TRUE, Returns as Simple Features Collection instead. |
Returns the locations of all GP practices in a CCG). Returns GeoJSON (or sfc).
1 2 3 | Location (approximate) of all practices in a CCG = location_function(CCG_code, as_sf = TRUE/FALSE)
location_function("99H", as_sf = TRUE)
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.