knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
shinymde
shinymde
provides an application (user interface) to ease the process of missing data exploration. The core functionality accessed is programmed in the code only package mde. It is hoped that this will provide an even easier way to explore missing data.
To install, please run the following in R
.
devtools::install_github("Nelson-Gon/shinymde") # provide branches for dev version devtools::install_github("Nelson-Gon/shinymde@dev")
library(shinymde) run_app()
shinymde
is currently deployed at https://nelson-gon.shinyapps.io/shinymde/ where users can use the app via a browser. Please test the app there and let us know what you think. Thank you!
This uses mde's na_summary
function to
generate a simple missingness report. The user can also download this report for
use in other purposes.
This allows a user to recode a given value as NA
, R's handler of missing values
or convert NA
s to some other value. It uses mde
's recode_*
functions.
This allows one to recode values conditionally. This supports recode_as_na_for
,
recode_as_na_if
, and other conditional recoding functions.
This uses mde
's drop_na_*
functions.
[x] Missingness plots
[ ] Gear icon that allows users to customize plot options e.g. plot themes, axis labels, legends, etc.
shinymde
in actionBelow is a screenshot showing current functionality.
View the full app at https://nelson-gon.shinyapps.io/shinymde/.
If you would like to work on this project, here is a features list that could be a good place to start.
[ ] Add unit tests.
[x] Add hovers to user input
[ ] Switchable dark mode
[x] Control pattern_type
/subset_cols
choice in na_summary
.
[ ] Use cached filename in input filename if a user quits the program.
[ ] Add user help pages that link to mde
documentation on click or as an independent tab.
[x] Allow user to choose plot type.
[x] Support dates in mde
[x] Allow control over visible text on visual summaries.
Thank you and keep building,
Nelson
r Sys.Date()
Please note that the 'shinymde' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.