Closed epogrebnyak closed 6 years ago
This has a more detailed isolated example of a problem: https://github.com/mini-kep/parser-rosstat-kep/blob/dev/src/kep/example.py
TODO: making a test based on https://github.com/mini-kep/parser-rosstat-kep/blob/dev/src/kep/example.py
There is an upper level entry-point to manipulate data for given month - it is here:
https://github.com/mini-kep/parser-rosstat-kep/blob/dev/src/manage.py
in __main__ section there is a call to Vintage(year, month)
validate() method fails - there are few variables missing after parsing
This is where parsing takes place:
https://github.com/mini-kep/parser-rosstat-kep/blob/dev/src/kep/csv2df/emitter.py#L205-L208