Skip to content
Analyzing the Turo rental car market
Branch: master
Clone or download
Latest commit 6c58ca6 Oct 29, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
credentials Added readme Oct 29, 2018
dataset Fixed error causing heroku app to fail Oct 29, 2018
scripts Fixed error causing heroku app to fail Oct 29, 2018
src
static Added the visualization for prices Oct 19, 2018
templates Moved files around and organized repo Oct 29, 2018
.gitignore Added credential manager and the db interaction Jul 30, 2018
Economics.csv Fixed error causing heroku app to fail Oct 29, 2018
Procfile Added procfile Jul 17, 2018
README.md Redid all headers Oct 29, 2018
SocioEconomics.py Fixed error causing heroku app to fail Oct 29, 2018
app.py Typecasted everything to string Oct 29, 2018
credentials.py Added credentials Oct 15, 2018
modelInfo.json
requirements.txt Added psycopg2==2.7.2 to readme Aug 5, 2018
runtime.txt
searchParams.md Added list of search params link to the readme Oct 19, 2018
turo.py Moved files around and organized repo Oct 29, 2018

README.md

Check out the Turo Analytics Web App

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.

Download the Dataset Here

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:

/api/?filter=vehicle_make&keyword=Tesla&values=vehicle_model,rate_daily&limit=5

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
}

/api/?filter=vehicle_model&keyword=karma&values=vehicle_make,vehicle_model,rate_daily,location_city&limit=3

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
}

/api/?filter=vehicle_make&keyword=Tesla&values=vehicle_name&limit=10

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: ChristopherLambert106@gmail.com

You can’t perform that action at this time.