open-sdg / sdg-build

Python package to convert SDG-related data and metadata between formats
MIT License
5 stars 23 forks source link

Not all header items being added to multi-series SDMX output #229

Closed LucyGwilliamAdmin closed 3 years ago

LucyGwilliamAdmin commented 3 years ago

Some header items are missing from all.xml SDMX output - ID, Prepared and Sender.

See example below:

Also I'm not sure if Test should be true or false as in all.xml it's false, whilst in 1-1-1.xml, it's true. I'm thinking it should possibly be false?

all.xml (multi-series output) header:

<mes:Header>
  <mes:Test>false</mes:Test>
  <mes:Structure structureID="SDG">
    <com:Structure>
      <URN>urn:sdmx:org.sdmx.infomodel.datastructure.DataStructure=IAEG-SDGs:SDG(1.3)</URN>
    </com:Structure>
  </mes:Structure>
</mes:Header>

1-1-1.xml (single-series output) header:

<mes:Header>
  <mes:ID>IREF1616086814</mes:ID>
  <mes:Test>true</mes:Test>
  <mes:Prepared>2021-03-18T17:00:14</mes:Prepared>
  <mes:Sender id="uk_ons"/>
  <mes:Structure structureID="SDG" dimensionAtObservation="TIME_PERIOD">
    <com:Structure>
      <URN>urn:sdmx:org.sdmx.infomodel.datastructure.DataStructure=IAEG-SDGs:SDG(1.3)</URN>
    </com:Structure>
  </mes:Structure>
</mes:Header>