Skip to content

Commit

Permalink
add rawlway_od and railway_station_traffic in layer2
Browse files Browse the repository at this point in the history
  • Loading branch information
wang-haiyang committed Dec 30, 2015
1 parent e4bc9b6 commit 624413b
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ to add new data sources to Layer0 or Layer1.

* [TaxiOD](https://github.com/OMNILab/OmniDataHouse/blob/master/repos/taxi_od.md)

* [RailwayOD](https://github.com/OMNILab/OmniDataHouse/blob/master/repos/taxi_od.md)

* [RailwayStationTraffic](https://github.com/OMNILab/OmniDataHouse/blob/master/repos/railway_station_traffic.md)


## Layer1 Repos

* [HzMobile](https://github.com/OMNILab/OmniDataHouse/blob/master/repos/hz_mobile.md)
Expand Down
18 changes: 18 additions & 0 deletions repos/railway_od.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#地铁乘客OD数据

根据公交一卡通用户的公交卡刷卡记录,提取出的地铁乘客OD数据。

##存储位置
hdfs://user/omnilab/warehouse/soda/layer1/metro

##数据说明
2015年4月1日~2015年4月31日的所有使用一卡通乘客乘坐地铁的OD数据

|公交卡ID|进站刷卡时间|进站地点|出站刷卡时间|出站地点|
|---|---|----|---|---|
|2304308932|2015-04-02 08:06:07|8号线芦恒路|2015-04-02 08:35:38|4号线鲁班路|

##数据示例
2304308932,2015-04-02 08:06:07,8号线芦恒路,2015-04-02 08:35:38,4号线鲁班路<br>
2304308932,2015-04-02 17:57:01,4号线鲁班路,2015-04-02 18:30:11,2号线陆家嘴<br>
2304308932,2015-04-02 20:13:28,2号线陆家嘴,2015-04-02 21:01:28,8号线芦恒路<br>
17 changes: 17 additions & 0 deletions repos/railway_station_traffic.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#地铁站点的乘客流量数据
根据公交卡刷卡数据提取的每个地铁站站点的乘客流量数据。

##存储位置
hdfs://user/omnilab/warehouse/soda/layer1/stationsRecords

##数据说明
记录了2015年4月1日~2015年4月30日,上海市每个地铁站的公交卡乘客交易记录,包括进站与出站。总共288个文件(288个地铁站),每个文件中包含了该地铁站在这一段时间所有的刷卡记录,按时间升序排列。

|地铁站|交易时间|公交卡ID|交易金额|
|---|---|---|---|
|东川路|2015-04-01 05:35:09|3600226556|3.00|

##数据示例
东川路,2015-04-01 05:35:09,3600226556,3.00
东川路,2015-04-01 05:55:41,2200797307,0.00
东川路,2015-04-01 05:55:43,2200694468,0.00

0 comments on commit 624413b

Please sign in to comment.