@golemio/rush-hour-aggregation 1.0.3-dev.588733088 → 1.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +61 -61
- package/templates/sqlQueries/FcdEvents.sql +1 -1
package/README.md
CHANGED
|
@@ -43,10 +43,10 @@ yarn add --exact @golemio/rush-hour-aggregation@dev
|
|
|
43
43
|
|
|
44
44
|
## Description
|
|
45
45
|
|
|
46
|
-
This module aggregates traffic data for Praha
|
|
46
|
+
This module aggregates traffic data for Praha dopravní project. It takes different traffic dataset avaiable in a golemio dataplatform and creates time series data for traffic jams, incidents or reconstructions.
|
|
47
47
|
|
|
48
|
-
[Rabin Praha
|
|
49
|
-
[Backend repo Praha
|
|
48
|
+
[Rabin Praha dopravní](https://praha-dopravni-backend.rabin.golemio.cz/app)
|
|
49
|
+
[Backend repo Praha dopravní](https://gitlab.com/operator-ict/golemio/code/praha-dopravni)
|
|
50
50
|
|
|
51
51
|
## Datasources
|
|
52
52
|
|
package/package.json
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
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
|
-
|
|
2
|
+
"name": "@golemio/rush-hour-aggregation",
|
|
3
|
+
"version": "1.0.4",
|
|
4
|
+
"description": "Rush hour data agregation for Praha dopravní project",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"scripts": {
|
|
8
|
+
"build": "rimraf ./dist && ttsc -p ./tsconfig.build.json",
|
|
9
|
+
"build-minimal": "run-s 'build --sourceMap false --declaration false'",
|
|
10
|
+
"build-watch": "run-s 'build --watch --preserveWatchOutput'",
|
|
11
|
+
"test": "cross-env NODE_ENV=test TS_NODE_COMPILER='ttypescript' mocha --exit --check-leaks --timeout 120000 -r ts-node/register -r dotenv/config 'test/**/*.test.ts'",
|
|
12
|
+
"test-debug": "run-s 'test --inspect-brk=9230'",
|
|
13
|
+
"code-coverage": "nyc run-s 'test -r source-map-support/register'",
|
|
14
|
+
"generate-docs": "typedoc --out docs/typedoc src",
|
|
15
|
+
"lint": "eslint \"{src,test}/**/*.ts\""
|
|
16
|
+
},
|
|
17
|
+
"keywords": [
|
|
18
|
+
"golemio"
|
|
19
|
+
],
|
|
20
|
+
"author": "Operator ICT, a.s.",
|
|
21
|
+
"license": "MIT",
|
|
22
|
+
"repository": {
|
|
23
|
+
"type": "git",
|
|
24
|
+
"url": "https://gitlab.com/operator-ict/golemio/code/modules/rush-hour-aggregation"
|
|
25
|
+
},
|
|
26
|
+
"devDependencies": {
|
|
27
|
+
"@commitlint/cli": "^11.0.0",
|
|
28
|
+
"@commitlint/config-conventional": "^11.0.0",
|
|
29
|
+
"@golemio/cli": "1.3.0",
|
|
30
|
+
"@golemio/core": "1.2.14",
|
|
31
|
+
"@golemio/eslint-config": "^1.1.0",
|
|
32
|
+
"@ovos-media/ts-transform-paths": "^1.7.18-1",
|
|
33
|
+
"@types/amqplib": "^0.5.17",
|
|
34
|
+
"@types/chai": "4.2.3",
|
|
35
|
+
"@types/chai-as-promised": "7.1.2",
|
|
36
|
+
"@types/geojson": "^7946.0.8",
|
|
37
|
+
"@types/mocha": "^9.1.0",
|
|
38
|
+
"@types/node": "^16.11.35",
|
|
39
|
+
"@types/sinon": "^9.0.10",
|
|
40
|
+
"chai": "4.2.0",
|
|
41
|
+
"chai-as-promised": "7.1.1",
|
|
42
|
+
"cross-env": "^7.0.3",
|
|
43
|
+
"dotenv": "^16.0.0",
|
|
44
|
+
"eslint": "^8.1.1",
|
|
45
|
+
"husky": "^7.0.4",
|
|
46
|
+
"mocha": "^9.1.2",
|
|
47
|
+
"npm-run-all": "^4.1.5",
|
|
48
|
+
"nyc": "^15.1.0",
|
|
49
|
+
"prettier": "^2.5.1",
|
|
50
|
+
"pretty-quick": "^3.1.3",
|
|
51
|
+
"rimraf": "^3.0.2",
|
|
52
|
+
"sinon": "^9.2.3",
|
|
53
|
+
"source-map-support": "0.5.19",
|
|
54
|
+
"ts-node": "^10.7.0",
|
|
55
|
+
"ttypescript": "^1.5.13",
|
|
56
|
+
"typedoc": "^0.22.15",
|
|
57
|
+
"typescript": "4.6.4"
|
|
58
|
+
},
|
|
59
|
+
"peerDependencies": {
|
|
60
|
+
"@golemio/core": "^1.0.0"
|
|
61
|
+
},
|
|
62
|
+
"dependencies": {}
|
|
63
63
|
}
|
|
@@ -13,7 +13,7 @@ select
|
|
|
13
13
|
) as properties
|
|
14
14
|
from
|
|
15
15
|
fcd.fcd_traff_params_part a
|
|
16
|
-
join
|
|
16
|
+
join fcd.fcd_geos_90 g on
|
|
17
17
|
a.source_identification::text = g.source_identification::text
|
|
18
18
|
where
|
|
19
19
|
a.measurement_or_calculation_time between $from and $to
|