Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Impact Metric Submission]: Assets Remaining on L2s Monthly #36

Open
nutkung1 opened this issue May 5, 2024 · 0 comments
Open

[Impact Metric Submission]: Assets Remaining on L2s Monthly #36

nutkung1 opened this issue May 5, 2024 · 0 comments
Assignees
Labels
c:community Datasets and notebook templates

Comments

@nutkung1
Copy link

nutkung1 commented May 5, 2024

Assets Remaining on L2s Monthly

Tags

Add one or more keywords to help us categorize your metric. Don't overthink this!

  • Finance
  • Data Analysis
  • Layer 2 solutions (L2s)

Brief description

Describe how your impact metric is calculated in 2-3 sentences: This metric calculates the total amount of assets remaining on Layer 2 solutions (L2s) for each project on a monthly basis. It sums up the amount of assets recorded in the events_monthly_to_project table and groups them by project ID and month.

SQL code block

Insert the SQL that we should run to replicate your impact metric:

SELECT
    project_id,
    FORMAT_TIMESTAMP('%Y-%m', bucket_month) AS month,
    SUM(amount) AS assets_remaining_on_l2s
FROM
    `opensource-observer.oso.events_monthly_to_project`

GROUP BY
    project_id,
    month;

Optional: link

Add a link to script/notebook or longer form write-up about the metric:

@nutkung1 nutkung1 added the c:community Datasets and notebook templates label May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:community Datasets and notebook templates
Projects
None yet
Development

No branches or pull requests

2 participants