cmu-delphi/delphi-epidata

Refactor `csv_importer.py` and `csv_to_database.py` and `covidcast_row.py`

オープン

#1,078 opened on 2023/02/03

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)Python (67 件のフォーク)auto 404
acquisitioncode healthgood first issuehelp wantedrefactor

Repository metrics

Stars
 (104 個のスター)
PR merge metrics
 (平均マージ 63d 20h) (30d で 11 merged PRs)

説明

A number of refactors can be done here:

  • csv_importer and csv_to_database are tightly coupled, but with low cohesion; would probably be best if merged together
  • csv_importer validation could likely be handled by Pandas exceptions
  • csv_importer can exit early when detecting a Pandas exception and save time
  • csv_importer can probably share validation with covidcast_row

コントリビューターガイド