Code Monkey home page Code Monkey logo

turo_analytics's Introduction

Turo Analytics Dataset Creation

To pull information on every vehicle listing while using the least amount of networks requests, I created a greedy algorithm in genLatLong.py that attempts to find the largest covered area while using the least amount of coordinates.


Data Visualization representing the Long/Lat points used to create the Dataset

Note: This dataset contains information on roughly ~40,000 currently listed (As of 07/08/2018) vehicles on Turo. The dataset contains 84 Data Points for each vehicle.

Turo Analytics Web App


Main Page


Search By Manufacturer


Finding all Tesla vehicles listed on Turo


Move the interactive map to find location-specific listings


Vehicle Information Page

Turo Analytics REST API

I used Flask to create a REST API that would make it easier to interact with the dataset. The API returns specified vehicle information based on the filters and parameters you use in the URL. GET and POST methods are both supported with the following endpoint:

/api/?filter={}&keyword={}&values={},{}&limit={}

Examples:

Response:
{
  "data": [
    {
      "rate_daily": 252.0,
      "vehicle_model": "Model S"
    },
    {
      "rate_daily": 140.0,
      "vehicle_model": "Model 3"
    },
    {
      "rate_daily": 116.0,
      "vehicle_model": "Model S"
    },
    {
      "rate_daily": 430.0,
      "vehicle_model": "Model X"
    },
    {
      "rate_daily": 574.0,
      "vehicle_model": "Model X"
    }
  ],
  "success": true
}
Response:
{
  "data": [
    {
      "location_city": "Stamford",
      "rate_daily": 902.0,
      "vehicle_make": "Fisker",
      "vehicle_model": "Karma"
    },
    {
      "location_city": "Fontana",
      "rate_daily": 717.0,
      "vehicle_make": "Fisker",
      "vehicle_model": "Karma"
    },
    {
      "location_city": "Atlanta",
      "rate_daily": 299.0,
      "vehicle_make": "Fisker",
      "vehicle_model": "Karma"
    }
  ],
  "success": true
}
Response:
{
  "data": [
    {
      "vehicle_name": "Jim's Tesla"
    },
    {
      "vehicle_name": "Ken's Tesla Model 3"
    },
    {
      "vehicle_name": "Nathan's Tesla"
    },
    {
      "vehicle_name": "Lei's Tesla"
    },
    {
      "vehicle_name": "Megan's Tesla"
    },
    {
      "vehicle_name": "GSD Rides Maui Tesla Rental Model S P85+"
    },
    {
      "vehicle_name": "Daniel's Tesla Model 3"
    },
    {
      "vehicle_name": "Daniel's Tesla Model S"
    },
    {
      "vehicle_name": "Gavin's Tesla"
    },
    {
      "vehicle_name": "Travis's Tesla"
    }
  ],
  "success": true
}

Interesting Findings from the Dataset

  • Matias's Lamborghini Huracan is the most expensive car on Turo with a daily rate of $1140.00

  • Dinton's Toyota Camry is the least expensive car on Turo with a daily rate of $10.00

  • There are 649 Tesla Vehicles on Turo

  • The most common vehicle model on Turo is a BMW 3 Series (569 Listings)

  • Scott's 2010 Kia Soul is the most reviewed vehicle on Turo with 233 reviews


PS. If Turo is looking for Software Engineering/Data Science Interns for the Spring of 2019, please let me know. I would love to join the team in San Francisco :)

My Email: [email protected]

turo_analytics's People

Contributors

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