{"action":"closed","issue":{"url":"https://api.github.com/repos/dbrownukk/EFD_v2/issues/100","repository_url":"https://api.github.com/repos/dbrownukk/EFD_v2","labels_url":"https://api.github.com/repos/dbrownukk/EFD_v2/issues/100/labels{/name}","comments_url":"https://api.github.com/repos/dbrownukk/EFD_v2/issues/100/comments","events_url":"https://api.github.com/repos/dbrownukk/EFD_v2/issues/100/events","html_url":"https://github.com/dbrownukk/EFD_v2/issues/100","id":325645504,"node_id":"MDU6SXNzdWUzMjU2NDU1MDQ=","number":100,"title":"All uploaded food resource subtypes data must match the stored unit to be valid","user":{"login":"daiClegg","id":30879677,"node_id":"MDQ6VXNlcjMwODc5Njc3","avatar_url":"https://avatars0.githubusercontent.com/u/30879677?v=4","gravatar_id":"","url":"https://api.github.com/users/daiClegg","html_url":"https://github.com/daiClegg","followers_url":"https://api.github.com/users/daiClegg/followers","following_url":"https://api.github.com/users/daiClegg/following{/other_user}","gists_url":"https://api.github.com/users/daiClegg/gists{/gist_id}","starred_url":"https://api.github.com/users/daiClegg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daiClegg/subscriptions","organizations_url":"https://api.github.com/users/daiClegg/orgs","repos_url":"https://api.github.com/users/daiClegg/repos","events_url":"https://api.github.com/users/daiClegg/events{/privacy}","received_events_url":"https://api.github.com/users/daiClegg/received_events","type":"User","site_admin":false},"labels":[{"id":942168358,"node_id":"MDU6TGFiZWw5NDIxNjgzNTg=","url":"https://api.github.com/repos/dbrownukk/EFD_v2/labels/Clarification","name":"Clarification","color":"d4c5f9","default":false}],"state":"closed","locked":false,"assignee":{"login":"dbrownukk","id":12796427,"node_id":"MDQ6VXNlcjEyNzk2NDI3","avatar_url":"https://avatars3.githubusercontent.com/u/12796427?v=4","gravatar_id":"","url":"https://api.github.com/users/dbrownukk","html_url":"https://github.com/dbrownukk","followers_url":"https://api.github.com/users/dbrownukk/followers","following_url":"https://api.github.com/users/dbrownukk/following{/other_user}","gists_url":"https://api.github.com/users/dbrownukk/gists{/gist_id}","starred_url":"https://api.github.com/users/dbrownukk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbrownukk/subscriptions","organizations_url":"https://api.github.com/users/dbrownukk/orgs","repos_url":"https://api.github.com/users/dbrownukk/repos","events_url":"https://api.github.com/users/dbrownukk/events{/privacy}","received_events_url":"https://api.github.com/users/dbrownukk/received_events","type":"User","site_admin":false},"assignees":[{"login":"dbrownukk","id":12796427,"node_id":"MDQ6VXNlcjEyNzk2NDI3","avatar_url":"https://avatars3.githubusercontent.com/u/12796427?v=4","gravatar_id":"","url":"https://api.github.com/users/dbrownukk","html_url":"https://github.com/dbrownukk","followers_url":"https://api.github.com/users/dbrownukk/followers","following_url":"https://api.github.com/users/dbrownukk/following{/other_user}","gists_url":"https://api.github.com/users/dbrownukk/gists{/gist_id}","starred_url":"https://api.github.com/users/dbrownukk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbrownukk/subscriptions","organizations_url":"https://api.github.com/users/dbrownukk/orgs","repos_url":"https://api.github.com/users/dbrownukk/repos","events_url":"https://api.github.com/users/dbrownukk/events{/privacy}","received_events_url":"https://api.github.com/users/dbrownukk/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2018-05-23T10:31:40Z","updated_at":"2018-07-29T15:10:48Z","closed_at":"2018-07-29T15:10:48Z","author_association":"COLLABORATOR","body":"Some data points in uploaded datasets will have different units than the stored unit for the equivalent resource subtype.\r\nThis means we cannot calculate the Kcal content of a crop/livestock product etc. for reporting/analysis etc.\r\n\r\nThe only option is for such items to fail validation and require the project leader to make the conversion.\r\n\r\nWe could consider an enhancement that allows a food type to have multiple units and a Kcal value for each. But even then local units will always crop up.\r\nA better enhancement might be to add local units to the project. e.g. a 'bag' = 25kg. \r\nWould need to decide whether that is universally applied (ie a bag of any food type) or whether it only applies to some sub-set. In which case how do we decide what's in that subset?\r\n\r\nThis is raised as a question to domain specialists (John & Celia)  in a separate issue."}}
{"actor":{"display_login":"daiClegg"}}