Closed epogrebnyak closed 8 years ago
At https://github.com/epogrebnyak/rosstat-kep-data/blob/master/src/csv2db.py#L28 changed to_database(csv, spec) to to_database(csv, spec, cfg). Given folder import_csv("../data/ind09/") must read data using _tabcfg.txt and _speccpi.txt, but import is not executed.
to_database(csv, spec)
to_database(csv, spec, cfg)
import_csv("../data/ind09/")
Seems to work now, passes test_import_with_cfg() at csv2db.py. Segment must be fully documented, see changes in data/ind09/spec_cpi.txt via 2c8f7e624b99fbd7547ba255c89fbb164f7025a6
At https://github.com/epogrebnyak/rosstat-kep-data/blob/master/src/csv2db.py#L28 changed
to_database(csv, spec)
toto_database(csv, spec, cfg)
. Given folderimport_csv("../data/ind09/")
must read data using _tabcfg.txt and _speccpi.txt, but import is not executed.