Refactor csv_importer.py
and csv_to_database.py
and covidcast_row.py
#1078
Labels
acquisition
changes acquisition logic
code health
readability, maintainability, best practices, etc
good first issue
help wanted
refactor
Substantial projects to make the code do the same thing, better.
A number of refactors can be done here:
csv_importer
andcsv_to_database
are tightly coupled, but with low cohesion; would probably be best if merged togethercsv_importer
validation could likely be handled by Pandas exceptionscsv_importer
can exit early when detecting a Pandas exception and save timecsv_importer
can probably share validation withcovidcast_row
The text was updated successfully, but these errors were encountered: