GE Lua Documentation

Press F to search!

readFileCSV

Definition


-- @/lua/common/csvlib.lua:163

local function readFileCSV(filename, sep)
  return decode(readFile(filename), sep)
end

Callers

@/lua/common/jbeam/tableSchema.lua
    if rowValue.include and csvlib then
      local data = csvlib.readFileCSV(rowValue.include, rowValue.delimiter)
      if not data then
@/lua/ge/extensions/editor/cosimulationSignalEditor.lua
      -- Read the .csv file into a lines structure.
      local csv = csvlib.readFileCSV(data.filepath)
      -- Read the .csv file into a lines structure.
      local csv = csvlib.readFileCSV(data.filepath)
@/lua/common/jbeam/expressionParser.lua
    csvlib = csvlib or require('csvlib')
    return csvlib.readFileCSV(resourceURI)
  elseif ext == 'xlsx' then