https://github.com/mpascariu/lemur
R library for the Life Expectancy Monitoring Tool
https://github.com/mpascariu/lemur
cause-of-death decomposition life-expectancy lifetables
Last synced: 7 months ago
JSON representation
R library for the Life Expectancy Monitoring Tool
- Host: GitHub
- URL: https://github.com/mpascariu/lemur
- Owner: mpascariu
- License: gpl-3.0
- Created: 2021-03-01T12:02:17.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2025-10-01T21:08:17.000Z (8 months ago)
- Last Synced: 2025-10-01T23:18:16.050Z (8 months ago)
- Topics: cause-of-death, decomposition, life-expectancy, lifetables
- Language: HTML
- Homepage:
- Size: 514 MB
- Stars: 7
- Watchers: 4
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# {lemur} - Life expectancy monitor upscaled in R
### R package and Shiny application
[](https://www.tidyverse.org/lifecycle/#experimental)
[](https://github.com/mpascariu/lemur/issues)
[](https://github.com/mpascariu/lemur/blob/master/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.
The tool is hosted by the **HASS Digital Research Hub (HDRH)** at the Australian National University (ANU).
## Installation
You can install the development version from
[GitHub](https://github.com/mpascariu/lemur) with:
``` r
# 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:
```r
lemur::run_app()
```
[](https://github.com/mpascariu/lemur)
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_gbd2021_cod`, `data_gbd2021_lt` or the help pages of relevant functions
like `decompose_by_cod()`, `modify_life_table()` and the related `plot_`
functions.