Coder Social home page Coder Social logo

boba-walks's Introduction

Random boba walks

Setup

Python scripts require the osmnx package. Easiest way is to install with conda:

conda create -n ox -c conda-forge --strict-channel-priority osmnx

The Yelp Fusion API is used to find boba shops. To get an API key, go to https://docs.developer.yelp.com/docs/fusion-intro. Put the API key into .env (root project directory) with the content:

YELP_API_KEY=8UOQ...

Running

Activate the conda environment, or ensure that the osmnx library is available.

  1. python download_street_networks.py
  2. python download_boba_gdfs.py
  3. python generate_adj_list.py
  4. python solve_matrix.py
  5. python shortest_paths.py
  6. Run through the notebook test/make_plots.ipynb and analyze_matrix_results.ipynb to create plots.

boba-walks's People

Contributors

womogenes avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.