Example dataset for taxi simulatoin
收藏资源简介:
This is an example dataset, containing pre-processed taxi trips from Manhattan, New York City, to be used with the simulation code available at https://github.com/dkondor/taxi_simulation Trip data originally comes from the NYC Taxi and Limousine Commission:<br> https://www1.nyc.gov/site/tlc/about/tlc-trip-record-data.page Road network data comes from OpenStreetMap, available under the Open Data Commons Open Database License The following files are included in this dataset: 1. Road network data:<br> NYC_nodes.csv includes a list nodes with a node ID, longitude and latitude. Node IDs range between 1 and 4091 (inclusive).<br> NYC_segments.csv includes a list of directed edges between the above nodes, with distances along the edges given in meters. 2. Trip data:<br> The files nytrips_{day}.bz2 (with {day} ranging from 14975 to 15339) contain trips happening in each day in 2011. These are CSV files compressed with bzip2, without header. The columns include the taxi ID (arbitrary numeric ID), trip start and end timestamp (UNIX timestamp without time zone), trip start and end node ID (corresponding to one of the nodes in the above network files). 3. Trip start distribution:<br> trip_start_dist.dat is an example distribution of trip start locations, i.e. node IDs along with the number of trips starting there in a one week period. 4. Travel times and indexes:<br> nyc_travel_times.zip contains a set of binary matrices containing travel times and an index for these that is used by the simulations; these were generated from the trips according to the methodology described in the following paper:<br> Santi, P., Resta, G., Szell, M., Sobolevsky, S., Strogatz, S. H., & Ratti, C. (2014). Quantifying the benefits of vehicle pooling with shareability networks. <em>PNAS</em>, <em>111</em>(37), 13290–13294. https://doi.org/10.1073/pnas.1403657111<br>
本示例数据集包含经过预处理的纽约曼哈顿出租车行程数据,可配合托管于https://github.com/dkondor/taxi_simulation的仿真代码使用。 行程原始数据来源于纽约出租车与豪华轿车委员会(NYC Taxi and Limousine Commission),相关公开页面为:https://www1.nyc.gov/site/tlc/about/tlc-trip-record-data.page;道路网络数据则取自开放街道地图(OpenStreetMap),其使用遵循开放数据公共授权开放数据库许可(Open Data Commons Open Database License)。 本数据集包含以下四类文件: 1. 道路网络数据: NYC_nodes.csv 包含节点列表,记录了节点ID、经度与纬度信息,节点ID的取值范围为1至4091(包含两端值); NYC_segments.csv 包含上述节点间的有向边列表,附带各边的距离(单位为米)。 2. 行程数据: nytrips_{day}.bz2(其中{day}的取值范围为14975至15339)存储了2011年每日的行程数据。该类文件为经bzip2压缩的CSV格式文件,无表头,各列依次为:出租车ID(任意数值标识符)、行程开始与结束时间戳(无时区UNIX时间戳)、行程起始与结束节点ID(对应上述网络文件中的节点)。 3. 行程起始分布: trip_start_dist.dat 为示例行程起始位置分布文件,包含节点ID以及该节点在一周周期内的起始行程总次数。 4. 行程时间与索引: nyc_travel_times.zip 包含一组二进制矩阵与仿真所用的索引文件,二者均根据上述行程数据,按照下述论文中描述的方法生成: Santi, P., Resta, G., Szell, M., Sobolevsky, S., Strogatz, S. H., & Ratti, C. (2014). 利用共享性网络量化拼车效益。《美国国家科学院院刊》(PNAS), 111(37), 13290–13294. https://doi.org/10.1073/pnas.1403657111



