You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The development of the DiagnosticsExplorer is likely daunting to newer developers due to the complexity of the codebase.
Consequently and new side branch - shiny-modules - is being developed with the intention of simplifying the codebase and making it easier for others to use and contribute.
A big problem with the usability with these modules outside of CohortDiagnotics is the .. bootstrap code ... section (which intentionally left vague here). This loads required base tables (such as the cohortTable that contains all cohorts and the list of available databases).
Currently, these are not well typed objects. A dbplyr lazy loaded table solution but, currently, dbplyr is not yet supported by DatabaseConnector and any implemented solution may not work well with pooled database connections.
The steps this process takes are to load the required data model assets that are used within the diagnostics explorer. These are currently a large set of internally used functions that were not intended to be used outside of the shiny application.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
The development of the DiagnosticsExplorer is likely daunting to newer developers due to the complexity of the codebase.
Consequently and new side branch - shiny-modules - is being developed with the intention of simplifying the codebase and making it easier for others to use and contribute.
The simplest example of how a module will work is in the Cohort Counts Module.
Sourcing this file there are two steps to utilize a module.
A big problem with the usability with these modules outside of CohortDiagnotics is the
.. bootstrap code ...
section (which intentionally left vague here). This loads required base tables (such as the cohortTable that contains all cohorts and the list of available databases).Currently, these are not well typed objects. A
dbplyr
lazy loaded table solution but, currently, dbplyr is not yet supported byDatabaseConnector
and any implemented solution may not work well with pooled database connections.The steps this process takes are to load the required data model assets that are used within the diagnostics explorer. These are currently a large set of internally used functions that were not intended to be used outside of the shiny application.
Beta Was this translation helpful? Give feedback.
All reactions