forked from mpascariu/lemur
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
70 lines (55 loc) · 2.55 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{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
<!-- badges: start -->
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)
[![issues](https://img.shields.io/github/issues-raw/mpascariu/lemur.svg)](https://github.com/mpascariu/lemur/issues)
[![license](https://img.shields.io/badge/License-GNU GPLv3-blue.svg)](https://github.com/mpascariu/lemur/blob/master/LICENSE)
<!-- badges: end -->
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](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()
```
[![App Screenshot](inst/app/www/app_lemur_20220315.png)](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_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`