Polls - add all poll options to CSV export


The poll feature and the Data Explorer plugin are fantastic, as is the ability to export the poll results data with one click from the poll itself.

The one thing I would like to add to the exported results is a list of all the options whether they have votes or not. This is useful for making a table as, even if a poll option did not receive any votes, that will still show up in the CSV somehow. As it stands, only those options that receive votes seem to show up.

I have looked inside the pre-defined queries, and have checked out the schema viewer in Data Explorer (which is really useful by the way), but can’t figure out how to get this to work. I assume this information is available somewhere as the poll results show all the options in Discourse itself, whether or not the option has any votes.

Thank you

1 Like