{"action":"created","issue":{"url":"https://api.github.com/repos/datasets/registry/issues/165","repository_url":"https://api.github.com/repos/datasets/registry","labels_url":"https://api.github.com/repos/datasets/registry/issues/165/labels{/name}","comments_url":"https://api.github.com/repos/datasets/registry/issues/165/comments","events_url":"https://api.github.com/repos/datasets/registry/issues/165/events","html_url":"https://github.com/datasets/registry/issues/165","id":137677196,"number":165,"title":"Country Annual Inflation Dataset","user":{"login":"rgrp","id":180658,"avatar_url":"https://avatars.githubusercontent.com/u/180658?v=3","gravatar_id":"","url":"https://api.github.com/users/rgrp","html_url":"https://github.com/rgrp","followers_url":"https://api.github.com/users/rgrp/followers","following_url":"https://api.github.com/users/rgrp/following{/other_user}","gists_url":"https://api.github.com/users/rgrp/gists{/gist_id}","starred_url":"https://api.github.com/users/rgrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rgrp/subscriptions","organizations_url":"https://api.github.com/users/rgrp/orgs","repos_url":"https://api.github.com/users/rgrp/repos","events_url":"https://api.github.com/users/rgrp/events{/privacy}","received_events_url":"https://api.github.com/users/rgrp/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2016-03-01T20:25:37Z","updated_at":"2016-03-07T22:09:11Z","closed_at":null,"body":"We already have CPI in #18 but did not do inflation. Think we want this.\r\n\r\nName: `inflation` (could be `inflation-annual` but do not think we need the distinction)\r\n\r\nRecommended data sources are World Bank e.g. they have these two:\r\n\r\n* http://data.worldbank.org/indicator/NY.GDP.DEFL.KD.ZG - GDP deflator\r\n* http://data.worldbank.org/indicator/FP.CPI.TOTL.ZG - consumer prices\r\n\r\nSuggest we take both and have them both in the dataset as separate data files."},"comment":{"url":"https://api.github.com/repos/datasets/registry/issues/comments/193478022","html_url":"https://github.com/datasets/registry/issues/165#issuecomment-193478022","issue_url":"https://api.github.com/repos/datasets/registry/issues/165","id":193478022,"user":{"login":"pdehaye","id":3274335,"avatar_url":"https://avatars.githubusercontent.com/u/3274335?v=3","gravatar_id":"","url":"https://api.github.com/users/pdehaye","html_url":"https://github.com/pdehaye","followers_url":"https://api.github.com/users/pdehaye/followers","following_url":"https://api.github.com/users/pdehaye/following{/other_user}","gists_url":"https://api.github.com/users/pdehaye/gists{/gist_id}","starred_url":"https://api.github.com/users/pdehaye/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pdehaye/subscriptions","organizations_url":"https://api.github.com/users/pdehaye/orgs","repos_url":"https://api.github.com/users/pdehaye/repos","events_url":"https://api.github.com/users/pdehaye/events{/privacy}","received_events_url":"https://api.github.com/users/pdehaye/received_events","type":"User","site_admin":false},"created_at":"2016-03-07T22:09:11Z","updated_at":"2016-03-07T22:09:11Z","body":"This is the correct link to validate:\nhttp://data.okfn.org/tools/validate?url=https%3A%2F%2Fraw.githubusercontent.com%2Fzelima%2Finflation%2Fmaster%2Fdatapackage.json\n\n(you need to validate the raw file, not the github page for that file,\nsubtle difference)\n\nThe error is with multiple sources, which are not to be listed as an array\nwithin a record, but an array of records. See\nhttps://github.com/datasets/IMO-IMDG-Codes/blob/master/datapackage.json\n\nAs for the script, I am not sure I understand. What is filename? If only\nfilename is passed, why not use both links?\n\nDon't hesitate to ask more questions!\n\n\nOn Mon, Mar 7, 2016 at 9:45 PM, zelima <notifications@github.com> wrote:\n\n> I have a problem with validation and even view:\n>\n>    - in the validation part when I pass the the link to datapackage\n>    <https://github.com/zelima/inflation/blob/master/datapackage.json> it\n>    throws \"message\": \"Error loading the datapackage.json file. HTTP Error\n>    code: 404\"\n>    - in the view part it says: \"There was an error. datapackage.json is\n>    invalid JSON. Details: Unexpected token <\" Could you help with this?\n>\n> And Also I'd like to say few words about script:\n>\n>    - When no argument is passed after ./script.py in terminal- it\n>    scratches data for both files.\n>    - When file name and source are passed - scratches for source that is\n>    passed and only.\n>    - The problem is when only filename is passed - cause since there are\n>    2 links, which one should I pass as default?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/datasets/registry/issues/165#issuecomment-193442182>.\n>\n"}}