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

Add processing for T012 #68

Closed hlinero closed 3 years ago

hlinero commented 3 years ago

Create the cleaning script for T012 dataset.

Partly addresses #49.

codecov[bot] commented 3 years ago

Codecov Report

Merging #68 (869e1d4) into master (1628bf5) will increase coverage by 0.31%. The diff coverage is 91.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #68      +/-   ##
==========================================
+ Coverage   56.89%   57.21%   +0.31%     
==========================================
  Files          47       48       +1     
  Lines        1863     1872       +9     
==========================================
+ Hits         1060     1071      +11     
+ Misses        803      801       -2     
Impacted Files Coverage Δ
item/historical/scripts/T010.py 100.00% <ø> (ø)
item/tests/test_historical.py 0.00% <0.00%> (ø)
item/historical/__init__.py 95.04% <100.00%> (+1.98%) :arrow_up:
item/historical/scripts/T012.py 100.00% <100.00%> (ø)

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 1628bf5...869e1d4. Read the comment docs.

khaeru commented 3 years ago

Like #67, this script indicates a data source/data set different from the one existing in sources.yaml:

T012:
  name: Modal split of passenger transport
  fetch:
    type: OpenKAPSARC
    dataset_id: modal-split-of-freight-transport
  url: https://datasource.kapsarc.org/explore/dataset/modal-split-of-freight-transport/

To be cleaned up in a subsequent PR.