I haven't done anything quite like that, but I have used python and the slpp module to turn the lua file int a list of resource objects. So, in theory it'd probably be rather easy to go from that to a CSV file.
I made a lua script years ago that you could paste into a copy of resource_manager_spawns.lua (a copy you saved to your computer, not the server copy), and double-click, and it exports the contents into a txt file, in a csv format. (Which I used for uploading out-of-spawn resource data to swgcraft, but you could obviously do anything you want with it.)
It would spit out the entire contents of that file in a format like this: