open-contracting / cardinal-rs

Measure red flags and procurement indicators using OCDS data
https://cardinal.readthedocs.io
MIT License
9 stars 3 forks source link

Add configuration option to map to standard codes #18

Closed jpmckinney closed 1 year ago

jpmckinney commented 1 year ago

e.g. DR uses "Qualified" instead of "valid" for bid status.

Also remove all the to_ascii_lowercase in the code.

jpmckinney commented 1 year ago

Noting that I've implemented this for only bid statuses, but if we witness other bad codelists, we can add it.

I've added a note to #42 to mention this in the user docs.