epogrebnyak / data-rosstat-kep

Time series dataset of Rosstat Short-term Economic Indicators ("KEP") publication
http://www.gks.ru/wps/wcm/connect/rosstat_main/rosstat/ru/statistics/publications/catalog/doc_1140080765391
6 stars 6 forks source link

Read markup files from separate folder #126

Closed epogrebnyak closed 7 years ago

epogrebnyak commented 8 years ago

Following files are used in data import, but it is impractical to copy them each month in new data folder.

__spec.txt  update for Feb 2016, closes #104    a day ago
__spec_budget_expense.txt   update for Feb 2016, closes #104    a day ago
__spec_budget_revenue.txt   update for Feb 2016, closes #104    a day ago
__spec_budget_surplus.txt   update for Feb 2016, closes #104    a day ago
__spec_cpi.txt  update for Feb 2016, closes #104    a day ago
__spec_foreign_trade.txt    update for Feb 2016, closes #104    a day ago
__spec_invest_src.txt   update for Feb 2016, closes #104    a day ago
__spec_overdue.txt  update for Feb 2016, closes #104    a day ago
__spec_profit.txt   update for Feb 2016, closes #104    a day ago
__spec_receivable.txt   update for Feb 2016, closes #104    a day ago
__spec_retail.txt   update for Feb 2016, closes #104    a day ago
cfg.txt

Must change config.py, https://github.com/epogrebnyak/rosstat-kep-data/blob/master/kep/reader/rs.py#L126-L158 and maybe elsewhere so that these files are imported from permanent folder.

epogrebnyak commented 8 years ago

Tests pass on master, but fail on this branch, changes not correct.

kep\tests\reader\test_rs1.py .FF
kep\tests\reader\test_rs2.py F