transportenergy / database

Tools for accessing and maintaining the iTEM model & historical databases
https://transportenergy.rtfd.io
GNU General Public License v3.0
24 stars 8 forks source link

Generate data structures in SDMX #62

Closed khaeru closed 3 years ago

khaeru commented 3 years ago

This code uses the [sdmx1 package]() to give a complete and rigorous definition of the concepts, measures, codes, etc. used to structure the iTEM historical and model data.

Details

See the updated “Data structures” page in the documentation for more details, including motivation. This is a preview version built from the branch for this PR:

PR checklist

codecov[bot] commented 3 years ago

Codecov Report

Merging #62 (4c17224) into master (376def3) will increase coverage by 3.40%. The diff coverage is 82.93%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #62      +/-   ##
==========================================
+ Coverage   53.21%   56.61%   +3.40%     
==========================================
  Files          39       46       +7     
  Lines        1603     1851     +248     
==========================================
+ Hits          853     1048     +195     
- Misses        750      803      +53     
Impacted Files Coverage Δ
item/historical/scripts/T009.py 93.75% <ø> (ø)
item/tests/test_common.py 0.00% <0.00%> (ø)
item/tests/test_historical.py 0.00% <0.00%> (ø)
item/tests/test_structure.py 0.00% <0.00%> (ø)
item/cli.py 79.16% <37.50%> (ø)
item/structure/template.py 85.29% <85.29%> (ø)
item/structure/sdmx.py 92.64% <92.64%> (ø)
item/common.py 89.55% <100.00%> (ø)
item/historical/__init__.py 93.06% <100.00%> (+2.06%) :arrow_up:
item/historical/scripts/T000.py 100.00% <100.00%> (ø)
... and 13 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 376def3...4c17224. Read the comment docs.