cmu-delphi/delphi-epidata
Refactor `csv_importer.py` and `csv_to_database.py` and `covidcast_row.py`
开放
#1,078 创建于 2023年2月3日
acquisitioncode healthgood first issuehelp wantedrefactor
仓库指标
- 星标
- (104 个星标)
- PR 合并指标
- (平均合并 63天 20小时) (30 天内合并 11 个 PR)
描述
A number of refactors can be done here:
csv_importerandcsv_to_databaseare tightly coupled, but with low cohesion; would probably be best if merged togethercsv_importervalidation could likely be handled by Pandas exceptionscsv_importercan exit early when detecting a Pandas exception and save timecsv_importercan probably share validation withcovidcast_row