{"action":"created","issue":{"url":"https://api.github.com/repos/open-source-economics/B-Tax/issues/113","repository_url":"https://api.github.com/repos/open-source-economics/B-Tax","labels_url":"https://api.github.com/repos/open-source-economics/B-Tax/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/open-source-economics/B-Tax/issues/113/comments","events_url":"https://api.github.com/repos/open-source-economics/B-Tax/issues/113/events","html_url":"https://github.com/open-source-economics/B-Tax/pull/113","id":184972835,"number":113,"title":"add json of row groupings - mock to fill out later","user":{"login":"PeterDSteinberg","id":1445602,"avatar_url":"https://avatars.githubusercontent.com/u/1445602?v=3","gravatar_id":"","url":"https://api.github.com/users/PeterDSteinberg","html_url":"https://github.com/PeterDSteinberg","followers_url":"https://api.github.com/users/PeterDSteinberg/followers","following_url":"https://api.github.com/users/PeterDSteinberg/following{/other_user}","gists_url":"https://api.github.com/users/PeterDSteinberg/gists{/gist_id}","starred_url":"https://api.github.com/users/PeterDSteinberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PeterDSteinberg/subscriptions","organizations_url":"https://api.github.com/users/PeterDSteinberg/orgs","repos_url":"https://api.github.com/users/PeterDSteinberg/repos","events_url":"https://api.github.com/users/PeterDSteinberg/events{/privacy}","received_events_url":"https://api.github.com/users/PeterDSteinberg/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-10-24T22:36:08Z","updated_at":"2016-10-25T16:20:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/open-source-economics/B-Tax/pulls/113","html_url":"https://github.com/open-source-economics/B-Tax/pull/113","diff_url":"https://github.com/open-source-economics/B-Tax/pull/113.diff","patch_url":"https://github.com/open-source-economics/B-Tax/pull/113.patch"},"body":"* [x] Adds a json of row labels to group names: `btax/param_defaults/row_groupings.json`\r\n* [ ] We need to add the correct group labels and `summary_c` and `summary_nc` to the row labels json \r\n* [x] Access the row groupings with:\r\n```python\r\nfrom btax.parameters import DEFAULT_ROW_GROUPINGS`\r\n```\r\nThis PR works in conjunction with [webapp-public PR 377](https://github.com/OpenSourcePolicyCenter/webapp-public/pull/377)"},"comment":{"url":"https://api.github.com/repos/open-source-economics/B-Tax/issues/comments/256084667","html_url":"https://github.com/open-source-economics/B-Tax/pull/113#issuecomment-256084667","issue_url":"https://api.github.com/repos/open-source-economics/B-Tax/issues/113","id":256084667,"user":{"login":"jdebacker","id":10715924,"avatar_url":"https://avatars.githubusercontent.com/u/10715924?v=3","gravatar_id":"","url":"https://api.github.com/users/jdebacker","html_url":"https://github.com/jdebacker","followers_url":"https://api.github.com/users/jdebacker/followers","following_url":"https://api.github.com/users/jdebacker/following{/other_user}","gists_url":"https://api.github.com/users/jdebacker/gists{/gist_id}","starred_url":"https://api.github.com/users/jdebacker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdebacker/subscriptions","organizations_url":"https://api.github.com/users/jdebacker/orgs","repos_url":"https://api.github.com/users/jdebacker/repos","events_url":"https://api.github.com/users/jdebacker/events{/privacy}","received_events_url":"https://api.github.com/users/jdebacker/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T16:20:54Z","updated_at":"2016-10-25T16:20:54Z","body":"@PeterDSteinberg The data frames returned from `run_btax`  (i.e., [here](https://github.com/open-source-economics/B-Tax/blob/master/btax/run_btax.py#L90), now contains columns for the major group.  For the `output_by_asset` table, this column is named `major_asset_group`. In the `output_by_industry` table, this column is named `major_industry`.  \r\n\r\nYou'll also notice that for the average over group, the item identifier = the group name (e.g., the average of the METR and other variables for all type of equipment are listed in the `output_by_asset` data frame in a row where `Asset Type` =  `major asset_group` = `Equipment`).\r\n"}}
{"actor":{"display_login":"jdebacker"}}