{"action":"opened","issue":{"url":"https://api.github.com/repos/epogrebnyak/rosstat-kep-data/issues/97","labels_url":"https://api.github.com/repos/epogrebnyak/rosstat-kep-data/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/epogrebnyak/rosstat-kep-data/issues/97/comments","events_url":"https://api.github.com/repos/epogrebnyak/rosstat-kep-data/issues/97/events","html_url":"https://github.com/epogrebnyak/rosstat-kep-data/issues/97","id":127395307,"number":97,"title":"Refine and extend texting of rs.inputs.py and rs.rs.py","user":{"login":"epogrebnyak","id":9265326,"avatar_url":"https://avatars.githubusercontent.com/u/9265326?v=3","gravatar_id":"","url":"https://api.github.com/users/epogrebnyak","html_url":"https://github.com/epogrebnyak","followers_url":"https://api.github.com/users/epogrebnyak/followers","following_url":"https://api.github.com/users/epogrebnyak/following{/other_user}","gists_url":"https://api.github.com/users/epogrebnyak/gists{/gist_id}","starred_url":"https://api.github.com/users/epogrebnyak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epogrebnyak/subscriptions","organizations_url":"https://api.github.com/users/epogrebnyak/orgs","repos_url":"https://api.github.com/users/epogrebnyak/repos","events_url":"https://api.github.com/users/epogrebnyak/events{/privacy}","received_events_url":"https://api.github.com/users/epogrebnyak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-01-19T08:55:16Z","updated_at":"2016-01-19T08:55:16Z","closed_at":null,"body":"```rs.rs.py``` and linked files allow reading raw data and parsing specification + producting output as stream of flat dictionaries, which can be stored in database or transformed to pandas dataframes. \r\n\r\n```rs.rs.py``` bottom section also demonstartes some rs methods for diagnostics. \r\n\r\nTodo:\r\n- run rs.py + doctests + py.test, fix minor errors\r\n- move RESERVED_FILENAMES to config\r\n- [ ] https://github.com/epogrebnyak/rosstat-kep-data/blob/master/rs/test_inputs_and_rs.py#L7-L48: \r\n  -- make it a separate file () if cannot import in rs.py due to curcular reference \r\n  -- write_temp_files()  must write to ```tempdata```\r\n  -- write_temp_files() must return absolute path to ```tempdata```, possibly using config.py  and CurrentFolder class\r\n- [ ] replicate test https://github.com/epogrebnyak/rosstat-kep-data/blob/master/rowsystem/tests/test_end_end_testdata.py \r\n  -- NOTE: this will require setting dtaabases\r\n- [ ] add fiscal row to testcase\r\n\r\nMinor todo:\r\n- [ ] pure tabulate without itertools\r\n- [ ] word.py may use inputs.py \r\n- [ ] ...\r\n\r\nNotes:\r\n- not a package for now\r\n- may want to replicate test_mwe.py - to extent coverage of label, stream, etc\r\n- version without dataset package?"}}