OpenprescribingR is a small package to allow you to import OpenPrescribing data directly into RStudio.
This uses the (beta) RESTful API and is an independent package from OpenPrescribing.
You could still download it onto your desktop directly from the API, but I think that doing this in-studio makes it much easier to update the information.
The package is split into the look-up and the data import functions. ('Information API' and 'Spending API')
These functions give details on drugs/organisations/list sizes.
drug_details()
organisation_codes()
list_size()
These functions allow you to load data.
spending_by_CCG()
spending_by_code()
spending_by_practice()
CCG Boundraries are unavailable for now
Further explanation on the terms used here - https://openprescribing.net/api/
Essential reading on https://openprescribing.net/api/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.