It would be immensely helpful if Data Slicer reports could be exported to CSV or XLS via the API. This way specific sets of data could be manipulated programmatically without having to get them either from a full database export, or else making many separate API calls.
The function call could be something like:
$report = request_report(REPORT_ID, REPORT_TYPE)
where REPORT_ID was the id of the report in Populi (I saw that each report that is saved has a numeric id, presumably defining its configuration);
and REPORT_TYPE would be either "csv" or "xls". (If it's too hard to do both, csv would be all I would need, so that parameter could be dropped.)
The function would then return a CSV or XLS file, similar to have the getTranscript API call can return the actual transcript.
Alternatively, if you were concerned about performance impacts, you could have one function call to enqueue a report generation and another to download it once it becomes available, similarly to how the function calls for the database backups work.
Isaac had suggested that I post this as a feature request to the forum. Thanks for your consideration! The Data Slicer is one of the best things about Populi, and I think this would take it to the next level in terms of usefulness.