Back to Templates

Location distance calculator

View App View Code on GitHub
shiny create -m express \
  -g https://github.com/posit-dev/py-shiny-templates/tree/main/map-distance
shiny create -m core \
  -g https://github.com/posit-dev/py-shiny-templates/tree/main/map-distance

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