Giter Club home page Giter Club logo

car2go-viz's Introduction

Car2Go Visualizations

I'm a fan of car-sharing and Car2Go in particular (it has an API!). A lot of my friends use it and I think it would be nice to visualize movements over extended periods of time to spot interesting patterns.

Car2Go: What do existing apps do now?

The Car2Go app shows the following:

  1. Locations of cars available at this moment of time

  2. Gas/charge remaining in the car

  3. {{Add your points here}}

What else may a Car2Go user want?

  1. For my week/day planning I would like to see how car's availability changes during the day?

  2. What's the likelyhood of catching a car at some particular location at some specific time of the day?

  3. {{yourQuestionHere}}

What does the Car2Go operator/owner want?

No brainier, max profit! Even more specifically - max profit every next day.

Quick look into the problem gives a straight tech goal:

"Minimization of average park time for entire fleet for every next day".

What do we propose.

Answer for users is straightforward: They may love an app that will visualize whatever is mentioned in the list in the beginning.

Owner may want, for example, to see how locations are ranked against car demand, and how this demand is changing throughout the day.

Also we believe in intelligent billing policy that will help to motivate moving cars to the locations with highest demand.

Our stratigic plan

Attack the development from two directions.

  1. Start developing a local Matlab-based prototype to model and visualize dynamic users-cars interactions based on real data for the given city.

  2. Along with Matlab prototype start developing a mobile app to make sure that features implemented in prototype will work in mobile environment. Use mobile implementation experience as a feedback for parallel prototype development.

References

  1. (Dec. 24th 2013 - Feb. 2014) all cities, every 5 min – http://dybskiy.cloudant.com/car2go/ (50 Gb)
  2. (March 2014) all cities, every 2.4 hours (10 snaps per day) – http://dybskiy.cloudant.com/car2go-march/ (420 Mb) *Aaron Parecki has a nice archive for Portland: http://aaronparecki.com/car2go *fun project by Matt Sacks visualizing Car2Go Portland movements over last three days – http://sacks.io/disposable-cars/

====================================================================

APPENDIX

====================================================================

Tech question: How to measure car demand?

Demand can be evaluated by the following measure/procedure:

  1. Apply rect mesh (say 1km cell size) to entire area

  2. Build a histogram "Number of cars vs park time"

  3. Do simple statistics for diagrams for all locations (mean, mode)

  4. Select the most suitable

  5. Apply it for test sample.

  6. Test motivation algorithms to find those maximizing profit

Car2Go Cloudant Queries

Map function:


function(doc) {
  var date = new Date(Date.parse(doc.timestamp));

  emit([doc.location,
        date.getFullYear(), date.getMonth(), date.getDate(),
        date.getHours(), date.getMinutes()],
        doc.placemarks.length);
}

emit location, vin, date

  1. have custom reduce emitting path as geojson

Queries

  1. By minute and for Vancouver:
https://dybskiy.cloudant.com/car2go-march/_design/stats/_view/byCity?group_level=6&reduce=true&startkey=[%22Vancouver%22]&endkey=[%22Washington%20DC%22]

car2go-viz's People

Contributors

html5cat avatar pady avatar

Watchers

James Cloos 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.