# Poll problem - exact vote numbers needed

**URL:** https://meta.discourse.org/t/poll-problem-exact-vote-numbers-needed/68392
**Category:** Support
**Tags:** polls
**Created:** [August 19, 2017, 7:11pm UTC](https://meta.discourse.org/t/poll-problem-exact-vote-numbers-needed/68392 "2017-08-19T19:11:14Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Silvanus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/silvanus/32/62831_2.png) [@Silvanus](https://meta.discourse.org/u/Silvanus)
#### Post date: [August 19, 2017, 7:11pm UTC](https://meta.discourse.org/t/poll-problem-exact-vote-numbers-needed/68392/1 "2017-08-19T19:11:14Z")

</div>

How can I acquire exact vote numbers in some votings? We are currently voting for trust level 4 people. People have 5 votes. There are 40 candidates, which I had to split into 2 polls because it only accepts 20 per poll. That is, 5 votes split between the two polls. This means that the total of votes differs per poll so the percentages do not correspond.

For exact resolving, I would need to acquire the exact numbers of votes in the polls. How is this done?

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [August 19, 2017, 7:51pm UTC](https://meta.discourse.org/t/poll-problem-exact-vote-numbers-needed/68392/2 "2017-08-19T19:51:43Z")

</div>

> [@Silvanus](#):
>
> it only accepts 20 per poll

There is a site settings for this. 20 is the default value. Search for `poll maximum options`

To solve your problem I think that you can write a proper query and use the [Data Explorer](https://meta.discourse.org/t/32566?silent=true) plugin or delete the 2 topics, change the site setting and create only 1 poll with 40 options.

---

<div class="post-metadata">

### Author: ![Silvanus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/silvanus/32/62831_2.png) [@Silvanus](https://meta.discourse.org/u/Silvanus)
#### Post date: [August 19, 2017, 8:24pm UTC](https://meta.discourse.org/t/poll-problem-exact-vote-numbers-needed/68392/3 "2017-08-19T20:24:08Z")

</div>

Oh thank you. This will fix the next vote. But people already started voting…

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [August 20, 2017, 12:27pm UTC](https://meta.discourse.org/t/poll-problem-exact-vote-numbers-needed/68392/4 "2017-08-20T12:27:34Z")

</div>

You can find the number of votes with the API. By visiting `https://discourse.example.com/t/#{topic_id}/posts.json` you’ll get the JSON data of all the posts within the topic. The `#{topic_id}` is the number you see in your browser’s URL bar when you visit a topic.

The API will return a large JSON object where you’ll find the number of votes for each option under the `polls` key.

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/f/af57405cba1af5012cfc37b893e6616ccacc6081.png)

* * *

Or you could use the [Discourse Data Explorer](https://meta.discourse.org/t/data-explorer-plugin/32566) if you want to find out even more about the polls. The query in [Is it possible to see who voted in polls? - #12 by gerhard](https://meta.discourse.org/t/is-it-possible-to-see-who-voted-in-polls/27064/12) should be a good starting point…

---

<div class="post-metadata">

### Author: ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)
#### Post date: [August 22, 2017, 1:40pm UTC](https://meta.discourse.org/t/poll-problem-exact-vote-numbers-needed/68392/5 "2017-08-22T13:40:49Z")

</div>

@Silvanus for your next poll for promotions:

> [@Elections Plugin](https://meta.discourse.org/t/elections-plugin/68521):
>
> Repo: [GitHub - angusmcleod/discourse-elections · GitHub](https://github.com/angusmcleod/discourse-elections) This uses the Polls plugin as a base and adds controls and features specific to running elections. Enabling and Settings Elections are administered by “Election Admins”. By default, election admins are site admins. All moderators can be made election admins by toggling the elections\_admin\_moderator site setting. To do: allow any user to be designated an ‘Election Admin’. Elections can be enabled on a category basis in Category Setting…

---

<div class="post-metadata">

### Author: ![Silvanus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/silvanus/32/62831_2.png) [@Silvanus](https://meta.discourse.org/u/Silvanus)
#### Post date: [August 24, 2017, 12:48pm UTC](https://meta.discourse.org/t/poll-problem-exact-vote-numbers-needed/68392/6 "2017-08-24T12:48:30Z")

</div>

It also seems the number of votes is shown when “Show Results” is clicked… _shame_ Of course this means I have to calculate single option votes manually, but with percentage and total number it’s doable.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [June 8, 2024, 12:37pm UTC](https://meta.discourse.org/t/poll-problem-exact-vote-numbers-needed/68392/8 "2024-06-08T12:37:35Z")

</div>

This topic was automatically closed after 2484 days. New replies are no longer allowed.
