Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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-14

N.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/