Use the elemez raw data endpoint to extract data to CSV
github.com/B2MSolutions/elemez2csv
B2MSolutions/elemez2csv