Skip to content
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

read data model csv as reactive object #21

Merged
merged 4 commits into from
Aug 22, 2024
Merged

read data model csv as reactive object #21

merged 4 commits into from
Aug 22, 2024

Conversation

avanlinden
Copy link
Collaborator

@avanlinden avanlinden commented Aug 22, 2024

use shiny::reactive when calling read.csv on the data model url to always pull the latest version of the production data model into the app when a user loads it.

Merge remote-tracking branch 'origin/main' into reactive-input
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
@avanlinden
Copy link
Collaborator Author

Verified that the app loaded on the staging deployment. Going to make a test update to the data model and see if staging catches it without a redeploy (aka did the reactive expression work)

@avanlinden
Copy link
Collaborator Author

fake value added here: adknowledgeportal/data-models#100

@avanlinden
Copy link
Collaborator Author

Screenshot 2024-08-22 at 4 34 11 PM

Worked! Staging caught the fake value as soon as it was merged into the main data model csv. Good to deploy to prod.

@avanlinden avanlinden merged commit 75bebd2 into main Aug 22, 2024
2 checks passed
@avanlinden avanlinden deleted the reactive-input branch August 22, 2024 23:40
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.

1 participant