- Source:
Methods
(static) getDepartmentsGoingValues(sessions, params, totReviews, prevArrayopt) → {Object}
Finds ingoing and outgoing trips made between departments in France and departments in Nouvelle-Aquitaine for a given year
- Source:
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
sessions |
Object
|
Neo4j context session |
|
params |
Object
|
Query's parameters |
|
totReviews |
Number
|
Total number of reviews for the given year |
|
prevArray |
Array.<Object>
|
<optional> |
Found object array to concatenate different year stat |
Returns:
- Type:
-
Object
Object with the year and percent of users found for a given year
(static) getMonths(sessions, params) → {Object}
Finds the number of ingoing and outgoing trips made between departments in France and departments in Nouvelle-Aquitaine for a given year
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
sessions |
Object
|
Neo4j context session |
params |
Object
|
Query's parameters |
Returns:
- Type:
-
Object
Object with each region and number of reviews by month
(static) getRegionsPageRank(sessions, params, arrayopt) → {Object}
Finds page rank score for departments in France
- Source:
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
sessions |
Object
|
Neo4j context session |
|
params |
Object
|
Query's parameters |
|
array |
Array.<Object>
|
<optional> |
Found object array to concatenate different year stat |
Returns:
- Type:
-
Object
Object with each year and its value page rank
(static) getTotalByYear(sessions, params) → {Object}
Finds the number of ingoing and outgoing trips made between departments in France and departments in Nouvelle-Aquitaine for a given year
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
sessions |
Object
|
Neo4j context session |
params |
Object
|
Query's parameters |
Returns:
- Type:
-
Object
Object with the year and number of trips found