Exporting timetables as CSV text file

Started by Bob Hairgrove, August 10, 2016, 11:30:56 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bob Hairgrove

When I generate a timetable, I can successfully save it in CSV format. However, if I do not generate a timetable but open a .FET file from a previous session, it will export all of the data but without without any planned activities because "no timetable has been generated". So if I want to have CSV timetables, I have to remember to export them immediately after they have been generated.

This would be a nice feature to have since there is the schedule contained in the "{Name}_activities.xml" file, and the export routine would only have to read it.

Or is there a better way?

Liviu Lalescu

I'll add your request in the TODO. Meanwhile, did you notice that there is a file name_data_and_timetable.fet in the results? You can open this file and generate on it - it will go very fast, and after that you can export the CSV results.

Bob Hairgrove

Quote from: Liviu Lalescu on August 10, 2016, 06:07:12 PM
I'll add your request in the TODO. Meanwhile, did you notice that there is a file name_data_and_timetable.fet in the results? You can open this file and generate on it - it will go very fast, and after that you can export the CSV results.

I did notice the "_data_and_timetable.fet" ... That's what I opened, but i skipped the next step (generating) because I thought it would already have all of the timetable data in it from the last time I generated it. After all, the name says "_data_and_timetable"...  ;)

It would be really nice to have as a new feature (and probably easy to implement). Thanks for listening to the users!

Liviu Lalescu

Quote from: Bob Hairgrove on August 10, 2016, 09:15:35 PM
It would be really nice to have as a new feature (and probably easy to implement).

Unfortunately, it is not easy to implement, and not elegant if I implement it. But you can generate the timetable very fast from the _data_and_timetable.fet.

Bob Hairgrove

Quote from: Liviu Lalescu on August 11, 2016, 07:33:30 AM
Quote from: Bob Hairgrove on August 10, 2016, 09:15:35 PM
It would be really nice to have as a new feature (and probably easy to implement).

Unfortunately, it is not easy to implement, and not elegant if I implement it. But you can generate the timetable very fast from the _data_and_timetable.fet.

Would the resulting timetable be exactly the same as the first time?

Liviu Lalescu

Time - identical - each activity will have the same time.

Space (rooms) - if an activity had in the first timetable an unspecified room (from space constraints with weights strictly lower than 100%), it may now be assigned a room (which is better for you).

Bob Hairgrove

Thank you, Liviu ... this is good to know.