Skip to content

coatless-shiny/sf-random-walk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Random Walks on Streets

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.

Demo

Dark Mode Light Mode
Dark Mode version of random walk generator Light Mode version of random walk generator
Metrics Isolated Walk
Walk Metrics Isolated Walk
Help Page
Help Page

Setup

To run the application, the following steps are required:

  1. R Packages

    install.packages(c(
     "shiny", "bslib", "bsicons", "sf", 
     "sfnetworks", "osmdata", "leaflet", "dplyr"
    ))
  2. 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')