-
Notifications
You must be signed in to change notification settings - Fork 21
Data Docs #320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Data Docs #320
Conversation
docs/reading-data.qmd
Outdated
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} |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
docs/reading-data.qmd
Outdated
### Example Applications {#read-data-examples} | ||
::: {.panel-tabset .panel-pills} | ||
|
||
#### Polars |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Convert restaurant tips example?
contents: | ||
- docs/overview.qmd | ||
- docs/user-interfaces.qmd | ||
- docs/reading-data.qmd |
There was a problem hiding this comment.
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). |
There was a problem hiding this comment.
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?
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). |
No description provided.