Open palewire opened 9 years ago
Perhaps the export could be directly to a xls file, instead of to a csv. Most people are going to put the data into a spreadsheet anyway.
Well, we have a lot of direct support for CSV already in these projects so I'm inclined to support CSV exports. That said, there's no reason why we couldn't implement XLS as well. Excel will open CSVs too so it shouldn't be too much of an issue unless .xls supports a feature we can't currently provide with our CSVs.
It's worth noting that CSV exporting for the Expenditure
and Contribution
models just landed in PR #175. It should be fairly trivial to write the view and use Django's StreamingHTTPResponse
module to trigger the download,
Sites we have in mind are http://electionmoney.org/ and http://data.influenceexplorer.com/bulk/