You can easily write a csv exporter (and importer for that matter).
It really depends a lot on the way you’re storing your data.
With SSK 2 (to simplify file writing), you could do this:
require "ssk2.loadSSK" \_G.ssk.init() -- Some 'dummy data' for our example local exampleData = {} exampleData[1] = { age = 21, name = "Bob", job = "Engineer" } exampleData[2] = { age = 32, name = "Billy", job = "Game Developer" } exampleData[3] = { age = 50, name = "Joe", job = "Retired" } -- Create first line of CSV io.writeFile( "name,age,job\n", "exampleData.csv" ) -- Append remainder of lines to file for i = 1, #exampleData do local out = exampleData[i].name out = out .. "," .. exampleData[i].age out = out .. "," .. exampleData[i].job out = out .. "\n" io.appendFile( out, "exampleData.csv" ) end
This would save a file containing this:
name,age,job Bob,21,Engineer Billy,32,Game Developer Joe,50,Retired