File-based export of report data (tab-delimited)
kbahey - August 25, 2008 - 22:15
| Project: | Devel |
| Version: | 6.x-1.x-dev |
| Component: | devel |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | needs review |
Description
It would be nice if we are able to export the CSV data from the reports, so they can be analyzed in spreadsheets, generate charts and such ...

#1
Moving to devel queue, since the module is now part of that.
#2
Hmmm,
Perhaps Views integration would be a useful path to go down.
If the performance module exposed its data to views, then perhaps administrator could generate their own custom reports [filter by time range etc].
There is a CSV export component in the Views Bonus Pack, but that module isn't ported to D6 yet.
#237196: Drupal 6 version of Views Bonus Pack?
Alan
#3
No. This is more dependencies, and hence more bloat.
I was thinking of something more minimalistic.
Something like how profile csv does it http://drupal.org/project/profile_csv
#4
I would like to see this as well. I may have a patch up soon. I think that the Drupal for Firebug module has some code that I can base my technique off of.
#5
Here's a patch that exports the data as a tab-delimited file. It's made against the 6.x-1.16 version. I couldn't use the CSV format because the queries have commas in them.
I've started using it to analyze the data from my 6.x site in MS Access & am coming up with fascinating conclusions. Apparently, drupal_get_path() queries are around 41% of the page request for me.
#6
I just tested my patch against 6.x-1.8 and it succeeds, though there's an offset.
#7
Has anyone had a chance to look at this? I think it would be a very useful feature.