You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/docs/integrate/datasets/index.mdx
+75-35Lines changed: 75 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,7 @@ import OpenrankLogo from "./openrank.png";
17
17
importArbitrumLogofrom"./arbitrum.png";
18
18
importEasLogofrom"./eas.png";
19
19
importOcLogofrom"./open-collective.png";
20
+
importOpAtlasLogofrom"./op-atlas.png";
20
21
21
22
Check out our [BigQuery data exchange](https://console.cloud.google.com/bigquery/analytics-hub/exchanges/projects/87806073973/locations/us/dataExchanges/open_source_observer_190181416ae) to explore all the OSO datasets available.
22
23
If you don't have a BigQuery account, [start here](../../get-started/bigquery.mdx).
@@ -108,6 +109,13 @@ Here are some of our featured public datasets:
[Open Collective](https://opencollective.com/) is a platform for transparent finances and governance for open source projects.
722
+
723
+
The Open Collective datasets contains all transactions realized on the platform since its inception. Separate datasets are available for **expenses** and **deposits**.
724
+
725
+
For example, you can get the total amount of donations in `USD` made to the [**pandas**](https://pandas.pydata.org) project:
726
+
727
+
```sql
728
+
select
729
+
SUM(CAST(JSON_VALUE(amount, "$.value") as FLOAT64)) as total_amount,
730
+
from
731
+
YOUR_PROJECT_NAME.open_collective.deposits
732
+
where
733
+
JSON_VALUE(amount, "$.currency") ="USD"
734
+
and JSON_VALUE(to_account, "$.id") ="ov349mrw-gz75lpy9-975qa08d-jeybknox"
735
+
```
736
+
737
+
**Remember to replace 'YOUR_PROJECT_NAME' with the name of your project in the query.**
OP Atlas contains data about projects contributing to the Optimism Collective and applying for Retro Funding, shepherded by the fine folks of [Agora](https://github.com/voteagora).
754
+
755
+
For example, you can get a list of all projects and their associated repository URLs:
756
+
757
+
```sql
758
+
select
759
+
p.name,
760
+
p.description,
761
+
r.urlas repo_url
762
+
from`YOUR_PROJECT_NAME.op_atlas.project`as p
763
+
join`YOUR_PROJECT_NAME.op_atlas.project_repository`as r
764
+
onp.id=r.project_id
765
+
```
766
+
767
+
**Remember to replace 'YOUR_PROJECT_NAME' with the name of your project in the query.**
768
+
769
+
For more information, go to https://atlas.optimism.io/ or check out the [OP Atlas GitHub](https://github.com/voteagora/op-atlas).
770
+
696
771
### OpenRank
697
772
698
773
<imgsrc={OpenrankLogo}width="200" />
@@ -771,41 +846,6 @@ where
771
846
772
847
**Remember to replace 'YOUR_PROJECT_NAME' with the name of your project in the query.**
[Open Collective](https://opencollective.com/) is a platform for transparent finances and governance for open source projects.
792
-
793
-
The Open Collective datasets contains all transactions realized on the platform since its inception. Separate datasets are available for **expenses** and **deposits**.
794
-
795
-
For example, you can get the total amount of donations in `USD` made to the [**pandas**](https://pandas.pydata.org) project:
796
-
797
-
```sql
798
-
select
799
-
SUM(CAST(JSON_VALUE(amount, "$.value") as FLOAT64)) as total_amount,
800
-
from
801
-
YOUR_PROJECT_NAME.open_collective.deposits
802
-
where
803
-
JSON_VALUE(amount, "$.currency") ="USD"
804
-
and JSON_VALUE(to_account, "$.id") ="ov349mrw-gz75lpy9-975qa08d-jeybknox"
805
-
```
806
-
807
-
**Remember to replace 'YOUR_PROJECT_NAME' with the name of your project in the query.**
0 commit comments