Description Usage Arguments Value
View source: R/count_bnf_class.R
Construct a df summarising number of prescriptions at specific level of BNF
1 | count_bnf_class(df, start_date, end_date, bnf_level = 2)
|
df |
dataframe of pis data in common format |
start_date |
start date for period of interest |
end_date |
end date for period of interest |
bnf_level |
Level of bnf code to summarise at (e.g. 2 = '01', 4 = '0101', 15='0101010G0BNAABY', etc) |
data_frame (prochino, n1, n2, n3, nY) n1 - nY = number of distinct *days* on which a prescription within a specific level/section of the BNF has been prescribed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.