UW-Madison-DSI / ospo-stats

1 stars 0 forks source link

Add data to backend DB #1

Closed JasonLo closed 3 months ago

JasonLo commented 4 months ago

@amegahed

As discussed yesterday, I made a backend DB with Turso, the Repo data model is here: https://github.com/UW-Madison-DSI/ospo-stats/blob/fd5e9dd14be53d8192e7f7f85f7d2ba36be97ac0/ospo_stats/db.py#L31

To push data to the DB, see this dummy function: https://github.com/UW-Madison-DSI/ospo-stats/blob/fd5e9dd14be53d8192e7f7f85f7d2ba36be97ac0/ospo_stats/db.py#L56

More snippets on Turso can be found here: https://github.com/UW-Madison-DSI/ospo-stats/blob/fd5e9dd14be53d8192e7f7f85f7d2ba36be97ac0/notebooks/turso_example.ipynb

JasonLo commented 4 months ago

2 Pushed github data, n=6323

JasonLo commented 3 months ago

Push Gitlab Repo data to DB: https://github.com/UW-Madison-DSI/ospo-stats/commit/fc122efce13994ff7305b66fccb40f4607442e41