Skip to content

Conversation

elnelson575
Copy link

No description provided.

@github-actions github-actions bot temporarily deployed to pr-320 September 24, 2025 18:07 Destroyed
@github-actions github-actions bot temporarily deployed to pr-320 September 25, 2025 17:26 Destroyed
@github-actions github-actions bot temporarily deployed to pr-320 September 29, 2025 15:55 Destroyed
The scenarios we've covered above are focused on reading in data to an application and performing queries with user-inputs. If you need to *write* data to the database, this introduces additional considerations we'll cover in a separate article on persistant storage in Shiny apps.


### Example Applications {#read-data-examples}
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thinking we put screenshots and links to these here. Thoughs?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good, consider reworking tips example for Polars

### Example Applications {#read-data-examples}
::: {.panel-tabset .panel-pills}

#### Polars
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't see an example of this in our Gallery. Do you know of one?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't have one :( Maybe we build one?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Convert restaurant tips example?

@github-actions github-actions bot temporarily deployed to pr-320 September 29, 2025 16:06 Destroyed
@github-actions github-actions bot temporarily deployed to pr-320 September 30, 2025 16:46 Destroyed
@github-actions github-actions bot temporarily deployed to pr-320 September 30, 2025 19:10 Destroyed
@github-actions github-actions bot temporarily deployed to pr-320 October 1, 2025 16:38 Destroyed
contents:
- docs/overview.qmd
- docs/user-interfaces.qmd
- docs/reading-data.qmd
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm thinking the articles that come out of this can go in their own section (in between Reactivity and Syntax Modes)

## Eager loading {#eager}

Loading all your data into memory when your app first starts is the simplest way to work with data in Shiny.
This makes it easy create UI from data, and more generally reason about your app's data logic. However, this also means that before a user can interact with your app, the data must be loaded into memory, so be mindful to keep this step as fast and efficient as possible (or consider [lazy](#lazy) loading).
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Might change to "finish being loaded" because we block UI interaction until after the loading step is completed, yes?

Suggested change
This makes it easy create UI from data, and more generally reason about your app's data logic. However, this also means that before a user can interact with your app, the data must be loaded into memory, so be mindful to keep this step as fast and efficient as possible (or consider [lazy](#lazy) loading).
This makes it easy create UI from data, and more generally reason about your app's data logic. However, this also means that before a user can interact with your app, the data must finish being loaded into memory, so be mindful to keep this step as fast and efficient as possible (or consider [lazy](#lazy) loading).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants