There exists a Codelist API defining multiple formats that a Codelist may exist in. This includes: XML, JSON, CSV. There are also 3 different versions of the Codelist API: 1, 2, 3. Between these numerical versions, there are differences in how one or more of the formats structures information.
pyIATI is currently able to read in CLv3 XML Codelists, and not able to output in any format.
If full historical support is desired, pyIATI should be able to both read and write Codelists of each format.
It may be deemed that certain cases existed historically and should be deemed out-of-scope for pyIATI to support. This decision would need making on a case-by-case basis as deemed appropriate.
[ ] General
[ ] Determine how to best handle reading in data that may be in one of many formats
[ ] Consider supporting Codelist Schemas as a type of Schema in pyIATI
[ ] Define clean API for outputting in desired formats
There exists a Codelist API defining multiple formats that a Codelist may exist in. This includes:
XML
,JSON
,CSV
. There are also 3 different versions of the Codelist API:1
,2
,3
. Between these numerical versions, there are differences in how one or more of the formats structures information.pyIATI is currently able to read in CLv3 XML Codelists, and not able to output in any format.
If full historical support is desired, pyIATI should be able to both read and write Codelists of each format.
It may be deemed that certain cases existed historically and should be deemed out-of-scope for pyIATI to support. This decision would need making on a case-by-case basis as deemed appropriate.