rahoCopy of Proposals by Total Votes
Updated 2023-04-12
99
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
›
⌄
-- all snapshots with outcome
with all_ss as (
select
date(proposal_end_time) as end_date,
proposal_title as proposal,
voter,
voting_power
from ethereum.core.ez_snapshot
where space_id = 'opcollective.eth'
and proposal_title != '%Test%'
and proposal_title != 'Final test'
and proposal_title != 'Test Proposal'
),
cnt_vtr as (
select
date(end_date) as end_date,
count(voter) as num_voters,
proposal
from all_ss
group by date(end_date), proposal
)
select
end_date,
num_voters,
proposal
from cnt_vtr
order by date(end_date) asc
Run a query to Download Data