open-contracting / ocdskit

A suite of command-line tools for working with OCDS data
https://ocdskit.readthedocs.io
BSD 3-Clause "New" or "Revised" License
17 stars 7 forks source link

convert-to-oc4ids: empty fields #144

Closed yolile closed 4 years ago

yolile commented 4 years ago

I converted https://raw.githubusercontent.com/open-contracting/sample-data/master/fictional-example/1.1/ocds-213czf-000-00001-02-tender.json to a oc4ids project with the convert-to-oc4ids command, and got:


{
  "contractingProcesses":[...],
  "sector":[""],
  "documents":[]
}

with the fields sector and documents empty, shouldn't it instead just avoid these empty fields?

cc @antonioherrera

jpmckinney commented 4 years ago

I've added it to the project board: should be fairly straightforward to fix and test.