Giter VIP home page Giter VIP logo

hilmo-visualizer's Introduction

README

This Shiny-app visualizes common hospital patient datasets (for example Hilmo datasets).

It is made for researchers to visualize patients doctoral visits timeline data. If you are interested what has happened to research population before and after certain date (for example date when got diagnosed to Alzheimer), you can visualize it with this application. Required input datasets are commented down below.

Information what you get from this application:

Population

  • age/gender distribution, mortality, censoring timeline
  • function for subsetting population

Diagnoses timeline

  • overall key characteristics of population hospital visits
  • main/side diagnoses plot during the timeline years

Screenshots

How to use this program?

  1. First you need to prepare your datasets if not already. Use R scripts create_data.R for that. Go thru the script finding !PREPARE:-section (use find function) and edit the script file. Set input data folder path and dataset names. Make sure that you also write the variable names. Script will wrangle a new dataset for you to new location.

  2. Set path for this new datasets image file in global.R script and you're ready to go.

  3. Run the Shiny-app by command:

source("run.R")

Input dataset definitions

You can use your own dataset, but you need to reshape them for equivalent as described. Script create_data.R does this for you.

Population data

Needed variables:

id              # Id number
birthday_date   # Date of birth
diagnosed_date  # Date when person got diagnosed
gender_factor   # Gender in factor var
died_date       # Date of person died
censoring_date  # Date when follow up study ended
area_SHP_code   # Hospital area Code

Hospital Events dataset

Needed variables

id              # patient id
main_diagnose   # ICD-10 diagnose (can be multiple)
side_diagnose   # ICD-10 diagnose(can be multiple)
date_entered    # Date variable when patient entered to hospital 
date_left       # Date variable when patient left from hospital

Acknowledgements

We are grateful for all comments from clinical advisors from KUH and UEF. Also we are grateful for funders and Neurocenter Finland which made this project possible to develop.

About

Found a bug? If you know github, you can open an issue.

Source code: https://github.com/janikmiet/hilmo-visualizer
Licence: CC BY. This license allows reusers to distribute, remix, adapt, and build upon the material in any medium or format, so long as attribution is given to the creator. The license allows for commercial use.
Copyright (c) 2020 Jani Miettinen

hilmo-visualizer's People

Contributors

janikmiet avatar

Stargazers

Tommi Kauko avatar

Watchers

 avatar

hilmo-visualizer's Issues

pdgo and similar names

Create data script works fine, but shinyapp.Rmd uses names like pdgo, pdge for diagnoses. Dataset diagnose variables are not changed....Think a way how to generalize this with the application and dataset builder.

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.