Methods
DataAdapter.(val) → {number|null}
- Source:
Recode a verbal satisfaction/agreement scale into a numeric scale.
Parameters:
| Name | Type | Description |
|---|---|---|
val |
string | number | The value to be recoded (either a number or a verbal scale label). |
Returns:
- The recoded numeric value or null if unable to recode.
- Type
- number | null
DataAdapter.(valuesArray, sortedIndexes) → {Array}
- Source:
Sorts an array by its indexes.
Parameters:
| Name | Type | Description |
|---|---|---|
valuesArray |
Array | The array to be sorted. |
sortedIndexes |
Array | The sorted indexes indicating the new order. |
Returns:
- The array sorted by the given indexes.
- Type
- Array
PowerPoint.(project, categories, props) → {array}
- Source:
Returns a collection of Project Variables properties for variables that are in any of the given categories. If props is a string a sinple array of scalar values is returned, otherwise it's an array of objects.
Parameters:
| Name | Type | Description |
|---|---|---|
project |
object | Project to inspect |
categories |
array | string | Categories to inspect (null = get all categories) |
props |
array | string | Variable properties to return (the id property is always returned) |
Returns:
Project variables in the given categories.
- Type
- array