-
Notifications
You must be signed in to change notification settings - Fork 24
Tech Framework
jwildfire edited this page Oct 16, 2018
·
8 revisions
- User opens shiny app
- Data Tab is shown by default
- User loads
anlydata file - File appears in file list
- User selects data domain as "Lab"
- System tests whether data file is SDTM or AdAM:
standard = redish::detectStandard(anly) //returns "ADaM", "SDTM" or "None"
- System generates default settings based on standard:
settings = redish::generateSettings(standard) //returns a settings object
- System validates the default settings vs. the
anlydata file. Returns a status ("valid" or "invalid") and, if needed an array of of discrepancies.status = redish::validateSettings(anly, standard, settings)
- System renders the settings page
renderSettingsPage(anly, standard, settings)
- If
status = valid, system renders the chart also.renderChart(anly, settings)
- System determines the current view - show chart if settings are valid, config if not.
setView(ifelse(status=="valid", "chart", "settings")
- System tests whether data file is SDTM or AdAM:
coming soon
coming soon
load(anly) standard <- detectStandard(anly) settings <- makeSettings(standard) makeWidget(settings, anly)