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 T010 #67

Closed hlinero closed 3 years ago

hlinero commented 3 years ago

Created the cleaning script for T010.

Partly addresses #49.

codecov[bot] commented 3 years ago

Codecov Report

Merging #67 (5f46800) into master (e6e3cfc) will increase coverage by 0.27%. The diff coverage is 92.85%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #67      +/-   ##
==========================================
+ Coverage   56.61%   56.89%   +0.27%     
==========================================
  Files          46       47       +1     
  Lines        1851     1863      +12     
==========================================
+ Hits         1048     1060      +12     
  Misses        803      803              
Impacted Files Coverage Δ
item/tests/test_historical.py 0.00% <0.00%> (ø)
item/historical/__init__.py 93.06% <100.00%> (ø)
item/historical/scripts/T010.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 e6e3cfc...5f46800. Read the comment docs.

khaeru commented 3 years ago

sources.yaml shows the following for T010, which does not match the metadata in this PR:

T010:
  name: Volume of passenger transport relative to GDP
  fetch:
    type: OpenKAPSARC
    dataset_id: volume-of-passenger-transport-relative-to-gdp
  url: https://datasource.kapsarc.org/explore/dataset/volume-of-passenger-transport-relative-to-gdp/

Evidently some mistake was made in naming somewhere. This can be fixed in a subsequent PR.