Skip to content

Conversation

reneedaos
Copy link

Hello,

I am working on my dissertation that looks at donor networks and DAOs. Will be extending some of your repo with various queries to suit my needs:)

This first one focuses on creating a standard edgelist format that can be used downstream for network analysis.

SELECT
    v."voter" AS from_node,
    pir."projectId" AS to_node,
    SUM(v."amountUSD") AS weight,
    pir."project_name",
    v."grantAddress"
FROM
    public."Vote" v
JOIN
    public."ProjectsInRounds" pir ON v."projectId" = pir."projectId"
GROUP BY
    v."voter", pir."projectId", pir."project_name", v."grantAddress"
ORDER BY
    weight DESC;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant