cmu-delphi/delphi-epidata

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

开放

#1,078 创建于 2023年2月3日

 (0 条评论) (0 个反应) (0 位负责人)Python (67 个派生)auto 404
acquisitioncode healthgood first issuehelp wantedrefactor

仓库指标

星标
 (104 个星标)
PR 合并指标
 (平均合并 63天 20小时) (30 天内合并 11 个 PR)

描述

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

贡献者指南