Back to Templates

Location distance calculator

View App View Code on GitHub
shiny create --template map-distance --mode express --github posit-dev/py-shiny-templates
shiny create --template map-distance --mode core --github posit-dev/py-shiny-templates

Run queries on an SQL database and view the results in a data grid. This app demonstrates how to initialize, populate, and connect to an SQL database using the duckdb package. It also shows how to run SQL queries and display results in an interactive data grid. Note also the use of Shiny modules to encapsulate and reuse the logic behind each card.

Components:

Packages:

  • faicons
  • geopy
  • ipyleaflet
  • requests
  • shinywidgets