datagouv / csv-detective

CSV inspection
45 stars 10 forks source link

Add money columns detection #20

Closed Rob192 closed 4 years ago

Rob192 commented 4 years ago

This features enables to detect the columns that contain money based on the column label. In order to keep things separated, the output returned is separated into the findings based on the fields of the csv on one side, and the finding based on the labels on the other side. The merging between the two output is based on a AND gate, but if the test was done only based on the label or only based on the field, then the value is kept. This will allow reinforcing validation of the column content based on testing the label and on the fields.

geoffreyaldebert commented 4 years ago

Approved. You just have to think about manage conflict on explore_csv before merge but for me it's ok. Waiting for @psorianom approval.