- Analytics use case(s): Characterization
- Study type:
- Tags:
- Study lead:
- Study lead forums tag:
- Study start date:
- Study end date:
- Protocol:
- Publications:
- Results explorer:
This repository contains code for a drug utilisation study focused on the use of systemic fluoroquinolones in primary care and hospital settings in the UK
To start download this entire repository (you can download as a zip folder using Code -> Download ZIP, or you can use GitHub Desktop).
- Go to folder 1_StudyCode and open the project fluroquinolones.Rproj in RStudio (when inside the project, you will see its name on the top-right of your RStudio session)
- Open and work though the CodeToRun.R file which should be the only file that you need to interact with. Run the lines in the file, adding your database specific information and so on.
- After running you should then have a zip folder with results to share in your results folder. To view the results in a local shiny app, go to 2_Reporting, add unzipped results to the data folder, and launch the app from ui.R