ever_used: Report whether a drug appears between start and end date

Description Usage Arguments Value

View source: R/ever_used.R

Description

Report whether a drug appears between start and end date

Usage

1
ever_used(df, bnf_code, start_date, end_date)

Arguments

df

dataframe of pis data in common format

bnf_code

bnf code for drug to the level of interest (e.g. '01', '0101', '0101010G0BNAABY', etc)

end_date

end date for period of interest

Value

data_frame (prochi, ???)


davidhen/pisR documentation built on May 24, 2019, 4:01 a.m.