-
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
CI/CDcontinuous integrationcontinuous integrationenhancementNew feature or requestNew feature or request
Description
We currently generate individual tables. This could in fact be improved with using a SQL library. We could perhaps use SQLModel to support pydantic and pandas.
- Add
SQLModelmodels forclone,trafficandreferring - Develop
pydanticmodels for each data view/stats - Add
dbmodule-
configurefunction for setting upSQLAlchemyengine -
queryfunction to be able to query SQLite byrepository_nameanddate -
migrate_csvthat will work withmergedand individual run CSV files (difference is withskip_rowssettings).
-
- Data Migration:
- Script that can be executed within the Docker container to pull in merged data and parse that over to
sqlite3.db
- Script that can be executed within the Docker container to pull in merged data and parse that over to
- Will need to load the
sqlite3database at some point when thegts_run_all_reposscript is executed - Be able to transform SQL data to
pandasDataFrameto construct figures/charts - Update documentation
- Test migration with a separate repo: astrochun/sqltest-github-stats
Metadata
Metadata
Assignees
Labels
CI/CDcontinuous integrationcontinuous integrationenhancementNew feature or requestNew feature or request