A Shiny application that generates and visualizes random walks on real street networks using OpenStreetMap data.
Important
This app must be used either locally or through a Shiny server instead of
through shinylive
due to:
- Dependencies on
liblwgeom
system libraries that are not available yet in webR. - Direct OpenStreetMap API access requirements needing
curl
, which is not able to run natively in webR.
To run the application, the following steps are required:
-
R Packages
install.packages(c( "shiny", "bslib", "bsicons", "sf", "sfnetworks", "osmdata", "leaflet", "dplyr" ))
-
Run Application
Local:
Type in Terminal:
git clone https://github.com/coatless-shiny/sf-random-walk.git
Then, in R run:
shiny::runApp()
Or, directly from GitHub:
shiny::runGitHub('sf-random-walk', 'coatless-shiny')