Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johnmackintosh/scodas-dbexplorer
loop over database tables using dynamic SQL via R, and and display results in shiny app
https://github.com/johnmackintosh/scodas-dbexplorer
business-intelligence r rshiny rshinydashboard shiny shinydashboard sql sql-server
Last synced: about 1 month ago
JSON representation
loop over database tables using dynamic SQL via R, and and display results in shiny app
- Host: GitHub
- URL: https://github.com/johnmackintosh/scodas-dbexplorer
- Owner: johnmackintosh
- License: gpl-3.0
- Created: 2022-06-14T12:51:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-06-15T12:33:09.000Z (over 2 years ago)
- Last Synced: 2024-11-30T23:04:46.540Z (about 2 months ago)
- Topics: business-intelligence, r, rshiny, rshinydashboard, shiny, shinydashboard, sql, sql-server
- Language: R
- Homepage:
- Size: 40 KB
- Stars: 19
- Watchers: 1
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - johnmackintosh/scodas-dbexplorer - loop over database tables using dynamic SQL via R, and and display results in shiny app (R)
README
# scodas-dbexplorer
code for SQL queries to loop over database tables, and shiny app to display / monitor values, presented at SCODAS meeting 2022-06-14N.B. - there are 2 versions of the app.
The version demonstrated, which has one dashboard tab, is in the main branch.Use the app-with-metadata branch for revised layout, featuring an additional tab and table which displays metadata about the current selected table.
See the screenshot below to navigate to the app-with-metadata branch:
![image](https://user-images.githubusercontent.com/3278367/173827203-3cca0396-6c01-466d-bb2a-741760e13fb6.png)
see these blog posts for further info
# interpolation - what is it?
https://www.johnmackintosh.net/blog/2021-10-20-interpolation/# flexible SQL queries:
https://www.johnmackintosh.net/blog/2022-04-06-sql-schema-query/# the code you need for the back end of the app:
https://www.johnmackintosh.net/blog/2022-04-28-purrr-sql/# opinion - keep your SQL outside your R script
https://www.johnmackintosh.net/blog/2022-02-08-separate-sql/