This is a slightly tricky thing to do. Here's the proposed mockup - [https://meta.wikimedia.org/wiki/Community_Tech/Grant_metrics_tool#/media/File:Export_data.png link].
Essentially, for each edit that was made during the event window, by the event participants, on the given wikis, we'd need to fetch -
* timestamp
* wiki
* article
* username
* edit summary
* link to diff
We need to offer them download links (as csv and wikitext table markup) for this data.
Currently, when we compute statistics (page created/improved), we don't keep track of the edits that were made while doing that.
We could either keep track of this data when we do the total calculation and store it in a database.
Or we could generate it on the fly when the user hits "Export data", and show them a progress bar etc.
In the latter case, we can hold on to the data in PHP after showing them the pretty-version and let them download wikitext/csv versions when they click download.
More ideas?