everypolitician / compare_with_wikidata

Library for diffing Wikidata and CSVs
MIT License
2 stars 0 forks source link

Refactoring: move processing of cell values into a new CellValue class #115

Closed tmtmtmtm closed 6 years ago

tmtmtmtm commented 6 years ago

Rather than creating each Cell with an already processed version of its contents, move the logic for manipulating the contents into the Cell class instead.

This moves the logic to where it more rightly belongs, and makes it easier for us to handle the CellModified case (where we can have Wikidata IDs on either "side" of the change).

tmtmtmtm commented 6 years ago

superseded by #120