add CSV export for frequency