Skip to content

[Question]: Delayed data loading clarification #1645

Description

@mschaffer-incyte

What is your question?

I've explored teal pretty deeply and was looking for clarification of the delayed data loading approach illustrated by the delayed gallery code: https://github.com/insightsengineering/teal.gallery/blob/main/delayed-data/app.R.

While this is useful, it still seems to require fully loading the (sometimes very large) analysis data sets into memory. I was wondering if there is an abstraction that allows a more efficient column-level data retrieval based only on what module analyses calls for (e.g. for populating the UI dropdowns, unique content of a column may be all that is needed).

Instead of loading all data into memory, is there a recommended pattern for data retrieval from a database or parquet files that dynamically reacts to a module's data requests and only fetches the relevant filtered content needed for the UI and current visual?

Code of Conduct

  • I agree to follow this project's Code of Conduct.

Contribution Guidelines

  • I agree to follow this project's Contribution Guidelines.

Security Policy

  • I agree to follow this project's Security Policy.

Metadata

Metadata

Assignees

No one assigned

    Labels

    corequestionFurther information is requested

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions