Skip to contents
shinyDashboard()
Run Shiny App

Extension Functions

Functions that enables third parties to implement new data sources.

data_source()
data_source
new_data_source()
Create a new data source class
data_source_server()
data_source_server generic
data_source_ui()
Data source UI
data_load()
Load data
data_nacc()
NACC data class
default_github_update_available() default_github_update_extension()
Default update-check and install functions for GitHub-hosted extensions
extension_updates
Framework machinery for extension update checks

Tables

Functions to create tables

assessment_longitudinal_table()
Assessment Longitudinal Table
assessment_summary_table() assessment_summary_data()
Create NACC T-Cog Neuropsychological Assessment Summary Table
demographics_table()
Summary Table with Demographic Information
prev_diagnoses_table()
Table With Previous Diagnoses

Shiny Modules

Shiny modules used for the main Shiny application

dataSelectServer()
Data Selection Server Module
dataSelectUI()
Data selection UI module
methodSelectUI() methodSelectServer() methodSelectApp()
Shiny Module for Selecting Domains and Standardization Methods
descriptionsUI() descriptionsServer() descriptionsApp()
Descriptions UI
mainTableUI() mainTableServer() mainTableApp()
Shiny Module to Display NACC T-Cog Neuropsychological Assessment Summary Table
update_banner_ui() update_banner_server()
Shiny module for the in-app update banner and flow
plotUI() plotServer() plotApp()
Plot Module
longTableUI() longTableServer() longTableApp()
Shiny Module to Display Longitudinal Trends in Table
prevDiagnosesUI() prevDiagnosesServer() prevDiagnosesApp()
Shiny Module to Display Previous Diagnoses

Shiny Helpers

shinyAddResources()
Add Shiny resources
shinyApp_header()
Shiny app header

Variable Definitions

Vectors/lists used to map variable names to/from NACC variable names

birth_vars
Variables necessary for Birth Dates
critical_vars
Variables Necessary
optional_vars
Optional Variables
visit_vars
Variables necessary for Visit Dates
nacc_to_wls
Translate NACC variable names to WLS variable names
wls_to_nacc
Translate WLS variable names to NACC variable names
nacc_var_groups
NACC Variable Groupings
nacc_groups
NACC Variable Groups
rdd
Researchers Data Dictionary in List Form
visibility_defaults
Visibility Defaults
diag_contr_pairs
Etiology Specific Variables
ht_cells_body() ht_cells_stub() ht_cells_column_labels() ht_cells_stubhead() ht_cells_row_groups() ht_cells_footnotes()
Locations for ht_tab_style()
nacc_var_labels
Variable Labels for NACC Variables
var_labels()
Create Labels for Assessment Summary Table
crosswalk_translations
Crosswalk Variables
demo_data
Demo Data

Custom Table Building Functions

Set of functions to replicate the functionality of gt needed. Light weight and very specific to the needs of this package.

ht_table()
Build an HTML table (first-cut: structure only)
ht_add_css()
Attach scoped CSS to a single table.
ht_cell_fill()
Build a fill-style (background-color) spec for ht_tab_style().
ht_cell_text()
Build a text-style spec for use in ht_tab_style().
ht_cells_body() ht_cells_stub() ht_cells_column_labels() ht_cells_stubhead() ht_cells_row_groups() ht_cells_footnotes()
Locations for ht_tab_style()
ht_cols_hide()
Hide one or more columns.
ht_cols_label()
Relabel one or more columns.
ht_hide_header()
Suppress the entire <thead> (spanner row + column labels).
ht_merge_cols_label()
Merge column labels into one cell.
ht_render()
Render a html_table to shiny::tags
ht_tab_footnote()
Append a table-level footnote.
ht_tab_spanner()
Add a column spanner across one or more columns.
ht_tab_stubhead()
Set the stubhead label (top-left cell, only shown when rowname_col is set).
ht_tab_style()
Attach styles to specific cell locations.

Misc Functions

calc_fill_colors()
Calculate Fill Colors from Number of Descriptions
check_colors()
Check colors
chrome_extra_args()
Return Chrome CLI arguments
onRender()
See help(htmlwidgets::onRender)
plotly_new_traces()
New Traces to add to Plot
prepare_data()
Wrapper to prepare raw data
update_intro_message() update_success_message() update_failure_message()
Print formatted messages for the extension update flow
clear_update_cache()
Clear the update-check cache
try_update()
Try update extension
update_result()
Result of an extension update check
validate_update_check_result()
Validate (or coerce) the result of an ntrd_update_available() call
check_extension_update()
Check whether an update is available for an extension package