Giter VIP home page Giter VIP logo

lemur's Introduction

{lemur} - Life expectancy monitor upscaled in R

R package and Shiny application

Lifecycle: experimental issues license

The life expectancy monitoring tool allows the user to selected mortality changes over the entire lifespan or at specific ages, as well as for overall mortality or for specific causes of death. For example, how would life expectancy look if cardiovascular mortality were to be reduced by 50%? Or how would life expectancy look if infant mortality was eliminated? The tool facilitates assessing changes and comparisons in life expectancy under those selected scenarios of mortality change. Furthermore, the tool lets the user compare cause-of-death profiles and life expectancies across time, countries and sexes.

Installation

You can install the development version from GitHub with:

# install.packages("devtools")
devtools::install_github("mpascariu/lemur")

Example

This is a basic example which shows you how to launch the monitor in your browser:

lemur::run_app()

App Screenshot

All the simulations done in the monitor can be executed using the R syntax directly in the R/Rstudio console. See the available data object data_gbd2019_cod, data_gbd2019_lt or the help pages of relevant functions like decompose_by_cod(), modify_life_table() and the related plot functions.

Support us

We are researchers who enjoys making useful utilities. You’re probably here as a result of our free software and apps.

The software solutions we create have the purpose of supporting teachers, students and anyone else interested in life expectancy modeling and demographic research. All of this is developed in our limited, spare time, and your contribution helps to remind us how important our work is.

donate (ETH / ERC20): 0x58CfD867256e0a93F98873C0B9C45a4fEfF974e4

lemur's People

Contributors

doug-leasure avatar mpascariu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

lemur's Issues

Loading Warning messages

Loading lemur
Warning messages:
1: replacing previous import ‘shiny::dataTableOutput’ by ‘DT::dataTableOutput’ when loading ‘lemur’
2: replacing previous import ‘shiny::renderDataTable’ by ‘DT::renderDataTable’ when loading ‘lemur’

Loading shinyBS at the launch of the app -- not the orthodox way

The {shinyBS::bsTooltip} is used within the UI of an app to add a tooltip to a Shiny input or output. However, for some reason is it not working unless i load it as library(shinyBS) within the run_app() function. This is not the nice way and during the R CMD checks we get the following warning:

checking dependencies in R code ... WARNING
  'library' or 'require' call not declared from: 'shinyBS'
  'library' or 'require' call to 'shinyBS' in package code.
    Please use :: or requireNamespace() instead.
    See section 'Suggested packages' in the 'Writing R Extensions' manual.

Tried that, and is not really working.
Is not a big deal since everything works nicely but yeah...

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.