Package: shinyCohortBuilder 0.4.0

Krystian Igras

shinyCohortBuilder: Modular Cohort-Building Framework for Analytical Dashboards

You can easily add advanced cohort-building component to your analytical dashboard or simple 'Shiny' app. Then you can instantly start building cohorts using multiple filters of different types, filtering datasets, and filtering steps. Filters can be complex and data-specific, and together with multiple filtering steps you can use complex filtering rules. The cohort-building sidebar panel allows you to easily work with filters, add and remove filtering steps. It helps you with handling missing values during filtering, and provides instant filtering feedback with filter feedback plots. The GUI panel is not only compatible with native shiny bookmarking, but also provides reproducible R code.

Authors:Krystian Igras [cre, aut], Kamil Wais [aut], Adam Foryś [ctb]

shinyCohortBuilder_0.4.0.tar.gz
shinyCohortBuilder_0.4.0.zip(r-4.7)shinyCohortBuilder_0.4.0.zip(r-4.6)shinyCohortBuilder_0.4.0.zip(r-4.5)
shinyCohortBuilder_0.4.0.tgz(r-4.6-any)shinyCohortBuilder_0.4.0.tgz(r-4.5-any)
shinyCohortBuilder_0.4.0.tar.gz(r-4.7-any)shinyCohortBuilder_0.4.0.tar.gz(r-4.6-any)
shinyCohortBuilder_0.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
shinyCohortBuilder/json (API)
NEWS

# Install 'shinyCohortBuilder' in R:
install.packages('shinyCohortBuilder', repos = c('https://r-world-devs.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/r-world-devs/shinycohortbuilder/issues

Pkgdown/docs site:https://r-world-devs.github.io

On CRAN:

Conda:

6.95 score 10 stars 40 scripts 219 downloads 26 exports 73 dependencies

Last updated from:e94cbcafb7. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK142
source / vignettesOK178
linux-release-x86_64OK148
macos-release-arm64OK137
macos-oldrel-arm64OK122
windows-develOK117
windows-releaseOK118
windows-oldrelOK92
wasm-releaseOK132

Exports:.available_filters_choices.cb_input.custom_attrition.filter_position.gui_filter.keep_na_input.pre_post_stats.pre_post_stats_text.render_filter.render_filters.save_observer.sendOutput.step_attrition.trigger_action.trigger_action_js.update_data_stats.update_keep_na_inputautofiltercb_changedcb_servercb_uidemo_appguiscb_chart_palettescb_iconsscb_labels

Dependencies:base64encbslibcachemclicohortBuildercollapsecommonmarkcpp11digestdplyrevaluatefarverfastmapfontawesomefontBitstreamVerafontLiberationfontquiverformatRfsgdtoolsgenericsggiraphggplot2gluegtablehighrhtmltoolshtmlwidgetshttpuvisobandjquerylibjsonliteknitrlabelinglaterlifecyclemagrittrMASSmemoisemimeotelpillarpkgconfigpromisespurrrR6rappdirsRColorBrewerRcpprlangrmarkdownS7sassscalesshinyshinyGizmoshinyWidgetssourcetoolsstringistringrsystemfontstibbletidyrtidyselecttinytextryCatchLogutf8vctrsviridisLitewithrxfunxtableyaml

Creating custom source extension

Rendered fromcustom-gui-layer.Rmdusingknitr::rmarkdownon May 26 2026.

Last update: 2022-06-21
Started: 2022-05-22

Implementing custom GUI filter layer

Rendered fromgui-filter-layer.Rmdusingknitr::rmarkdownon May 26 2026.

Last update: 2022-06-21
Started: 2022-05-22

Introduction to shinyCohortBuilder

Rendered fromshinyCohortBuilder.Rmdusingknitr::rmarkdownon May 26 2026.

Last update: 2023-08-25
Started: 2022-05-22

shinyCohortBuilder options

Rendered frompackage-options.Rmdusingknitr::rmarkdownon May 26 2026.

Last update: 2024-09-19
Started: 2022-05-22

Updating Source in Shiny

Rendered fromupdating-source.Rmdusingknitr::rmarkdownon May 26 2026.

Last update: 2022-06-02
Started: 2022-05-22

Readme and manuals

Help Manual

Help pageTopics
GUI layer for cohortBuilder packageshinyCohortBuilder-package
Create input controller insensitive to server updates.cb_input
Define filter related output in filtering panel.render_filter
Save observer to user session.save_observer
Send output rendering.sendOutput
Generate filters definition based on the Source dataautofilter autofilter.default autofilter.tblist
Generate available filters choices based on the Source data.available_filters_choices .available_filters_choices.default .available_filters_choices.tblist available-filters-choices
Track changes of cohort data in Shinycb_changed
Include filtering panel in Shinycb_server cb_ui
Run demo applicationdemo_app
Create target filter position in UI panel.filter_position .filter_position.default .filter_position.tblist filter-position
Run filtering panel locallygui
Return GUI layer methods for filter of specified type.gui_filter .gui_filter.datetime_range .gui_filter.date_range .gui_filter.discrete .gui_filter.discrete_text .gui_filter.multi_discrete .gui_filter.query .gui_filter.range gui-filter-layer
Generate NA's filter selection GUI input.keep_na_input .update_keep_na_input keep_na_input
Generate structure of pre/post statistics.pre_post_stats .pre_post_stats_text pre_post_stats
Method for generating custom attrition output.custom_attrition rendering-custom-attrition
Render filtering panels for all the filters included in Cohort.render_filters .render_filters.default .render_filters.tblist rendering-filters
Generate output of attrition plot.step_attrition .step_attrition.default .step_attrition.tblist rendering-step-attrition
Default color palette used for filter feedback plotsscb_chart_palette
Default filtering panel iconsscb_icons
Default filtering panel labelsscb_labels
Source compatibility methods.source-gui-layer
Trigger filtering panel action.trigger_action .trigger_action_js trigger-action
Render source data related statistics.update_data_stats .update_data_stats.default .update_data_stats.tblist updating-data-statistics