Index
Functions
checkIsColorData
-
Parameters
-
data: object[]
-
column: Column
Returns void
-
detectNegative
-
Parameters
-
columnName: string | number
-
data: object[] | Float64Array
Returns boolean
-
detectSequentialColumn
-
Parameters
-
columnName: string | number
-
data: object[] | Float64Array
Returns boolean
-
getColumnsFromData
-
Parameters
-
inferTypesFn: typeof inferTypes
-
data: object[]
Array of data objects.
-
Optional columnTypes: ColumnTypeMap
Returns Column[]
-
getStats
-
Parameters
-
data: object[] | Float64Array
-
columnName: string | number
-
columnType: TypeInference
-
columnQuantitative: boolean
-
Optional distinctValuesCallback: (distinctValues: string[]) => void
-
-
Parameters
-
distinctValues: string[]
Returns void
-
-
-
Returns ColumnStats
-
-
Parameters
-
data: object[]
-
column: Column
-
Optional distinctValuesCallback: (distinctValues: string[]) => void
-
-
Parameters
-
distinctValues: string[]
Returns void
-
-
-
Returns ColumnStats
-
inferAll
-
Populate columns with type inferences and stats.
Parameters
-
columns: Column[]
Array of columns.
-
data: object[]
Array of data objects.
Returns void
-
isColor
-
Parameters
-
cssColorSpecifier: string
Returns boolean
-
isQuantitative
-
Parameters
-
column: Column
Returns boolean
-
Generated using TypeDoc
Derive column metadata from the data array.