Methods
ages(age) → {String}
Formats age for query process
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
age |
String
|
String to modify |
Returns:
- Type:
-
String
formated string
capitalize() → {String}
Capitalize a given string
- Source:
Returns:
- Type:
-
String
formated string
diff(region) → {String}
Create differential array to compare values over years
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
region |
String
|
String to modify |
Returns:
- Type:
-
String
formated string
diffGoing(region) → {String}
Create differential array to compare ingoing/outgoig values over years
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
region |
String
|
String to modify |
Returns:
- Type:
-
String
formated string
formatNumber(num) → {String}
Format number to process query
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
num |
Number
|
String to modify |
Returns:
- Type:
-
String
formated string
nameQuery() → {String}
Formats string for process query
- Source:
Returns:
- Type:
-
String
formated string
nameQueryFrom() → {String}
Formats string for process destination query
- Source:
Returns:
- Type:
-
String
formated string
percentDiff(region) → {String}
Get evolution over two years (Y/Y-1)
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
region |
String
|
String to modify |
Returns:
- Type:
-
String
formated string
region(region) → {String}
Formats region for query process
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
region |
String
|
String to modify |
Returns:
- Type:
-
String
formated string
roundDecimal(nbDec) → {Number}
Round decimal according a given number of decimal
- Source:
Parameters:
| Name | Type | Description |
|---|---|---|
nbDec |
Number
|
Number of decimal |
Returns:
- Type:
-
Number
formated decimal