Description Usage Arguments Value Examples
Queries from August 2010 to date and returns total spending and items by month.
1 | spending_by_code(BNF_code = NULL)
|
BNF_code |
A code found using drug_details(). Or the BNF. chemical_section_or_presentation_code or BNF_section. Can be a section, or the specific code/id for each BNF section/drug/presentation. |
Returns total spending and items by month.
1 2 3 4 5 6 7 | spending_by_code()
spending_by_code(BNF_code = "0212")
spending_by_code(BNF_code = "0212000AA")
spending_by_code(BNF_code = "0212000AABB")
spending_by_code(BNF_code = "2.4")
spending_by_code(BNF_code = drug_details(BNF_section = "2.4")$id[1])
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.