outCSV function

Export blocked or assigned data to .csv format files