Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robwiederstein/retirementdash
A dashboard of retirement locations filtered by health, environment, housing affordability, and demographic criteria. Inter-county migration data are also included.
https://github.com/robwiederstein/retirementdash
dt golem leaflet plotly retirementlocation shiny
Last synced: about 2 months ago
JSON representation
A dashboard of retirement locations filtered by health, environment, housing affordability, and demographic criteria. Inter-county migration data are also included.
- Host: GitHub
- URL: https://github.com/robwiederstein/retirementdash
- Owner: RobWiederstein
- License: other
- Created: 2021-09-30T13:42:11.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-10-15T00:00:32.000Z (about 3 years ago)
- Last Synced: 2024-10-11T22:22:00.436Z (2 months ago)
- Topics: dt, golem, leaflet, plotly, retirementlocation, shiny
- Language: R
- Homepage: https://robwiederstein.github.io/retirementDash/
- Size: 1.53 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- Changelog: NEWS.md
- 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%"
)
```# retirementDash
[![Lifecycle: experimental](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://lifecycle.r-lib.org/articles/stages.html#experimental)
[![R-CMD-check](https://github.com/RobWiederstein/retirementDash/workflows/R-CMD-check/badge.svg)](https://github.com/RobWiederstein/retirementDash/actions)
[![License: MIT](https://img.shields.io/badge/license-MIT-bright%20green)](https://img.shields.io/badge/license-MIT-bright%20green)
[![Codecov test coverage](https://codecov.io/gh/RobWiederstein/retirementDash/branch/master/graph/badge.svg)](https://codecov.io/gh/RobWiederstein/retirementDash?branch=master)
[![Last Commit](https://img.shields.io/github/last-commit/RobWiederstein/retirementDash)](https://img.shields.io/github/last-commit/RobWiederstein/retirementDash)
Retirement
Locator DashboardThe goal of `retirementDash` is to present pertinent and relevant criteria for selecting a retirement location in the United States. This project proceeded in two stages. The first stage was to create a county-level dataset `retirementData`, which is hosted in its own package and [repository](https://github.com/RobWiederstein/retirementData). The second stage was to display the data in an interactive, user-friendly dashboard, shown above.
## Installation
You can install the development and experimental version of `retirementDash` from its [repository](https://github.com/RobWiederstein/retirementDash) with:
``` r
# Or the development version from GitHub:
# install.packages("devtools")
install_github("RobWiederstein/retirementDash")
```## Usage
### Step 1 Landing Page
The side panel provides 17 criteria to filter the 3,142 United States counties. The sliders were preset to the 2.5% and the 97.5% percentiles to eliminate outliers. With seventeen sliders set in a similar manner, only 2028 counties display when the `select counties` button is pushed.
The map contains an overlay for airports, colleges, hospitals and military bases. For those features to be displayed, the adjacent box must be checked. Airports include information regarding annual passengers; colleges the number of students; hospitals the CMS star rating; and military bases the surface area.
### Step 2 Counties Tab
The counties tab displays the filtered results in a tabular form. The user may select variables and sort and download the counties that meet his or her criteria. This is particularly useful for preserving the results.
### Step 3 Analysis Tab
The user may use the `x-axis` and `y-axis` axis to create a scatterplot. Additional attributes for size and color are provided. This could be helpful in further refining the criteria on the landing page. For example, some parts of the United States have very high housing prices relative to household income, a variable named `years_to_payoff`. Users may then reset the inputs based upon the analyzer plot.
### Step 4 Migration Tab
A fourth tab includes inter-county migration data from the IRS. Entry of one county shows where its residents migrated to ("moved-out") and where its residents came from ("moved-in").
## Acknowledgments
The following packages were indispensable to the `retirementData` and `retirementDash`projects:
- [`shiny`](https://github.com/rstudio/shiny)
- [`golem`](https://github.com/ThinkR-open/golem)
- [`pkgdown`](https://github.com/r-lib/pkgdown)
- [`usethis`](https://github.com/r-lib/usethis)
- [`styler`](https://github.com/r-lib/styler)
- [`leaflet`](https://github.com/Leaflet/Leaflet)
- [`plotly`](https://github.com/plotly/plotly.R)
- [`DT`](https://github.com/rstudio/DT)
## Code of Conduct
Please note that the retirementDash project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.