# Taxi Application Offered Trip-Level Dataset

## Overview

This dataset contains **manually collected offered trip-level data** from taxi applications, used for the offered fare analysis in "Effects of Taxi Market Deregulation: Evidence from a Natural Experiment" . 
The data represents trip offers presented by dispatch center and ride-hailing applications before a ride is accepted. 

## Dataset Description

The dataset consists of individual trip offers that were manually recorded from one or more taxi applications. Each record corresponds to a single offered trip and includes information such as

- Trip identifier and query identifier
- Date and time of the trip offer
- Firm and application identifier
- Region and geographic and democraphic statistics of the region
- Distance of the trip and 
- Offered fare
- Estimated arrival time
- Additional trip-related attributes

## List of variables

trip_id : trip identifier
time_to_arrival : trip time to arrival
fare : trip fare (€)
region : geographic region
trip_type : trip category
length_group : trip length group
distance_to_rank : distance to pickup from nearest known taxi rank
trip_length : trip length (km)
aika_ak1 : trip duration (minutes)
dayfare_2017 : business hours fare calculated using 2017 statutory prices
nightfare_2017 : outside business hours fare calculated using 2017 statutory prices
dayfare_2022 : business hours fare calculated using April 2022 statutory prices from Åland
nightfare_2022 : non business hours fare calculated using April 2022 statutory prices from Åland
dayfare_2022_new : business hours fare calculated using June 2022 statutory prices from Åland
nightfare_2022_new : non business hours fare calculated using June 2022 statutory prices from Åland
time_of_day : time of day
date : date
point_of_day : point of day (1 = morning, 2 = afternoon, 3 = night)
weekday : weekday (0 = Sunday, 1 = Monday, ...)
outside_biz_hours : outside business hours
weekend : weekend dummy
newdata : dummy (0 = April 2022, 1 = June/July 2022)
app_only : dispatch center does not operate a mobile dispatch service
regionsize : size category of geographic region
base_fee : base fee during business hours
km_fare : kilometer fare during business hours
time_fare : duration fare during business hours
base_fee_nonbiz : base fee outside business hours
km_fare_nonbiz : kilometer fare outside business hours
time_fare_nonbiz : duration fare outside business hours
min_fare : minimum fare
wait_fare : wait-time fare
slow_fare : slow-driving fare
population : population
sq_km : area of the geographic region in square kilometers
pop_density : population density (per sq. km.)
large_region : dummy for large municipality
regions_per_firm : number of regions in sample where the dispatch center operates
firms_per_region : number of dispatch centers in the region
regional_competitors : number of competing dispatch centers in the region
query_id : unique query identifier (concurrent searches of the same trip_id)
obs_per_query : number of observed prices per query
n_found : number of times a price was observed for the dispatch center in the region
n_searched : number of queries in the region
availability : fraction of queries at dispatch center-region level for which a price was observ
calculated : counterfactual prices calculated using control groups regulated prices
year : year
treatment : treatment
post : post
AX_new : dummy for June 2022 for observations in Åland
treatmentxpost : 
ln_fare : log fare
ln_time_to_arrival : log time to arrival
trip_length_sq : trip length squared
pickup_at_city : pickup at city
friday_saturday : dummy for friday and saturday
peak_demand : 
listprice_day : trip fare calculated using current list prices of the dispatch center
firm_id : group(firm)
application_id : group(application)


## Data Collection

The data were manually collected by recording trip offers displayed within a set of taxi applications (all taxi apps known to operate in a given region) for a set of hypothetical pre-specified trips. 


## Citation

If you use this dataset, please cite both the dataset and the following related publication:
Jääskeläinen, J., Leppälä, S., & Väättänen, A. (2023). *Effects of Taxi Market Deregulation: Evidence from a Natural Experiment*. Finnish Competition and Consumer Authority (KKV), Working Papers 2/2023.

