External module "src/vistorian"
Variables
head
head: any = $('head')
tables
tables: any[] = []
Functions
append
- append(url: string): void
checkTime
- checkTime(table: VTable, timeCol: number, timeFormat: string): number[]
-
Parameters
-
-
timeCol: number
-
timeFormat: string
Returns number[]
[description]
cleanTable
- cleanTable(table: any[][]): void
createAndNormaliseLocationTable
- createAndNormaliseLocationTable(currentNetwork: Network): object
-
Parameters
Returns object
-
locationLabels: string[]
-
locationName: string
-
-
normalizedLocationTable: any[]
exportLocationTableCSV
- exportLocationTableCSV(networkname: any, table: any): void
-
Parameters
-
networkname: any
-
table: any
Returns void
exportNetwork
- exportNetwork(network: Network): void
exportTableCSV
- exportTableCSV(table: VTable): void
importData
- importData(network: Network, session: any): void
importIntoNetworkcube
- importIntoNetworkcube(currentNetwork: Network, sessionid: string, s: boolean): undefined | DataSet
-
Parameters
-
currentNetwork: Network
-
sessionid: string
-
s: boolean
Returns undefined
|
DataSet
loadCSV
- loadCSV(files: File[], callBack: Function, sessionid: string): void
-
Parameters
-
files: File[]
-
callBack: Function
-
sessionid: string
Returns void
setHeader
- setHeader(elementId: String, datasetname: String): void
-
Parameters
-
elementId: String
-
datasetname: String
Returns void
Checks the time column in the passed table against the entered time format and returns an array of fields that do not match the that time format.