|
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).
1) 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) 2) 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. 3) 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