GithubHelp home page GithubHelp logo

wifivis's Introduction

Initial Setup

We include some data already. Simply decompress the file util/data.csv.gz

Usage

Go to root of the repo and run the server in threaded mode

python server.py --threaded <IP or Hostname> <PORT>

Navigate your browser to http://<IP or Hostname>:<PORT>/

Prep new wifi data

Add logs file in util/ with schema timestamp/count/accesspointid. It should look like this:

1411676653,0,0
1411676653,4,1
1411676653,6,2
1411676653,8,3
1411676653,0,4

cd to util/:

cd util

Join the wifidata with the lat/lon dataset:

python prepdata > data.csv

go back to the root:

cd .. 

First few lines in util/data.csv should look like:

time,room,count,lon,lat
1411725853,nw86-715,1,-71.101716,42.359562
1411725853,ne47-597,1,-71.092506,42.363297
1411725853,w1-3037,14,-71.093457,42.357710
1411725853,w1-3032,5,-71.093457,42.357710

Scrape Wifi Data

Go to scrape/

Edit scrape_wifi.py and set the usernames and passwords

Run it

python scrape_wifi.py

wifivis's People

Contributors

sirrice 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.