Coder Social home page Coder Social logo

cdu-data-science-team / pharmacyforecasting Goto Github PK

View Code? Open in Web Editor NEW
3.0 3.0 1.0 1.63 MB

Putting the R in pharmacy- a Shiny application to make forecasts of medication use in pharmacies in Nottinghamshire Healthcare NHS Trust

License: Other

R 100.00%
forecasting health-foundation shiny

pharmacyforecasting's Introduction

Putting the R in phaRmacy

Inventory management of medicines within hospital pharmacies could be improved by harnessing advanced analytics to inform stock ordering requirements. This should release valuable resources which could be used for higher value clinical work. This project aims to develop, test and implement an open source analytical tool in R that will support and improve existing inventory management practices within our Trust pharmacy.

This Shiny application was too CPU intensive to run in production and this repository has been archived. An RMarkdown based approach was used instead.

This project is part of the Health Foundation's Advancing Applied Analytics programme. The Health Foundation is an independent charity committed to bringing about better health and health care for people in the UK.

Heatlh Foundation logo

pharmacyforecasting's People

Contributors

chrisbeeley avatar chrismainey avatar

Stargazers

Owain  gaunders avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

Forkers

chrismainey

pharmacyforecasting's Issues

Incorrect handling of days by forecast function

The forecast function counts backwards from the last date in the data frame and produces forecasts up the the current date in the dataframe. This behaviour is useful for training models but not for live use.

Change this behaviour, possibly leaving the other functionality in too for the purposes of model testing

Add simulation based code

It won't be part of the Shiny, but simulations are taking place to test the performance of different models in realistic ordering situations

No outstanding orders input to main function

The main stock control function does not have an input for outstanding orders, and they are just loaded from .rda

This is obviously no good for live use. Add in functionality to change outstanding orders in the function

Get rid of red error messages

I don't know why there are red error messages on here- I've put req() in various places but it doesn't seem to work

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.