-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdatapackage.json
145 lines (145 loc) · 4.73 KB
/
datapackage.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"name": "lebanon-traffic-dataset",
"title": "Lebanon Traffic Dataset",
"description": "Road traffic data for Lebanon collected between 2014 and 2019.",
"profile": "tabular-data-package",
"version": "v1.0",
"licenses": [
{
"id": "ODbL-1.0",
"title": "Open Data Commons Open Database License 1.0",
"url": "https://opendefinition.org/licenses/odc-odbl"
}
],
"sources": [
{
"title": "Tari'ak (طريقك) App",
"path": "http://tari2ak.com"
},
{
"title": "OpenStreetMap",
"path": "https://openstreetmap.org"
},
{
"title": "Overpass Turbo",
"path": "http://overpass-turbo.eu/"
}
],
"contributors": [
{
"title": "Rami Khawandi",
"email": "rami@tari2ak.com",
"path": "https://github.com/ramikay",
"role": "author"
}
],
"resources": [
{
"name": "velocities",
"title": "Velocities",
"format": "csv",
"encoding": "UTF-8",
"path": "data/velocities.csv",
"profile": "tabular-data-resource",
"mediatype": "text/csv",
"description": "Location and velocity data of devices in automotive transport, confined to the country of Lebanon.",
"licenses": [
{
"id": "ODbL-1.0",
"title": "Open Data Commons Open Database License 1.0",
"url": "https://opendefinition.org/licenses/odc-odbl"
}
],
"schema": {
"fields": [
{
"name": "Date",
"title": "Date",
"type": "date",
"format": "default",
"description": "Date of when the data point was collected. Date values are reported in `Asia/Beirut` timezone."
},
{
"name": "Time",
"title": "Time",
"type": "time",
"format": "default",
"description": "Time of when the data point was collected. Time values are reported in `Asia/Beirut` timezone."
},
{
"name": "Coordinate (Lon, Lat)",
"title": "Coordinate",
"type": "geopoint",
"format": "default",
"description": "Coordinate of where the data point was collected. Coordinates are represented as `(longitude,latitude)`, and NOT `(latitude,longitude)`."
},
{
"name": "Course",
"title": "Course",
"type": "number",
"format": "default",
"description": "The direction in which the device was traveling when the data point was collected, measured in degrees starting at due north and continue clockwise around the compass. Thus, north is 0 degrees, east is 90 degrees, south is 180 degrees, and so on. Course values may not be available on all devices. A negative value indicates that the course information is invalid.",
"constraints": {
"minimum": "0",
"maximum": "360"
}
},
{
"name": "Velocity",
"title": "Velocity",
"type": "number",
"format": "default",
"description": "The velocity the device was traveling at when the data point was collected, measured in meters/second NOT kilometers/hour.",
"constraints": {
"minimum": "0"
}
},
{
"title": "Street ID",
"type": "string",
"format": "default",
"description": "The unique identifier for the street using its OpenStreetMap (OSM) ID. Streets are map-matched from OSM with a simple linear algebra algorithm using the device's coordinate and course.",
"name": "StreetID"
}
]
},
"dialect": {
"delimiter": ",",
"doubleQuote": true,
"lineTerminator": "\r\n",
"quoteChar": "\"",
"skipInitialSpace": true,
"header": true,
"caseSensitiveHeader": false
}
},
{
"name": "streets",
"title": "Streets",
"format": "geojson",
"encoding": "UTF-8",
"path": "data/streets.geojson",
"mediatype": "application/json",
"description": "list of street features referenced in `velocities.csv` described in GeoJSON.",
"licenses": [
{
"id": "ODbL-1.0",
"title": "Open Data Commons Open Database License 1.0",
"url": "https://opendefinition.org/licenses/odc-odbl"
}
],
"profile": "tabular-data-resource",
"schema": {
"fields": [
{
"title": "Streets GeoJSON",
"type": "geojson",
"description": "The fields in this resource are in GeoJSON format.",
"name": "Streets GeoJSON",
"format": "default"
}
]
}
}
]
}