{"action":"created","issue":{"url":"https://api.github.com/repos/wakayama-hacker/wmap/issues/31","repository_url":"https://api.github.com/repos/wakayama-hacker/wmap","labels_url":"https://api.github.com/repos/wakayama-hacker/wmap/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/wakayama-hacker/wmap/issues/31/comments","events_url":"https://api.github.com/repos/wakayama-hacker/wmap/issues/31/events","html_url":"https://github.com/wakayama-hacker/wmap/issues/31","id":211639438,"number":31,"title":"エンドポイントURLを指定してCSVファイルやエクセルファイルを取り込む","user":{"login":"KamataRyo","id":6292312,"avatar_url":"https://avatars0.githubusercontent.com/u/6292312?v=3","gravatar_id":"","url":"https://api.github.com/users/KamataRyo","html_url":"https://github.com/KamataRyo","followers_url":"https://api.github.com/users/KamataRyo/followers","following_url":"https://api.github.com/users/KamataRyo/following{/other_user}","gists_url":"https://api.github.com/users/KamataRyo/gists{/gist_id}","starred_url":"https://api.github.com/users/KamataRyo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KamataRyo/subscriptions","organizations_url":"https://api.github.com/users/KamataRyo/orgs","repos_url":"https://api.github.com/users/KamataRyo/repos","events_url":"https://api.github.com/users/KamataRyo/events{/privacy}","received_events_url":"https://api.github.com/users/KamataRyo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-03-03T09:40:50Z","updated_at":"2017-03-10T21:13:43Z","closed_at":null,"body":"データのビルドでこういうこともできると、オープンデータ利用の観点からいいかもです。\r\nエンドポイントURLを指定して、データを収穫します。\r\n\r\n#### data/endpoints\r\n\r\n```\r\nhttp://example.com/example.csv\r\nhttp://example.com/foo/bar.xlsx\r\n```\r\n\r\n#### gulpfile.js\r\n\r\n```\r\nconst gulp    = require( 'gulp' )\r\nconst harvest = require( './lib/harvest' )\r\n\r\ngulp.task( 'harvest' () => {\r\n    harvest( './data/endpoints' )\r\n    .pipe( csv2json() )\r\n    .pipe( gulp.dest( './json' ) )\r\n} )\r\n```"},"comment":{"url":"https://api.github.com/repos/wakayama-hacker/wmap/issues/comments/285786176","html_url":"https://github.com/wakayama-hacker/wmap/issues/31#issuecomment-285786176","issue_url":"https://api.github.com/repos/wakayama-hacker/wmap/issues/31","id":285786176,"user":{"login":"miya0001","id":309946,"avatar_url":"https://avatars1.githubusercontent.com/u/309946?v=3","gravatar_id":"","url":"https://api.github.com/users/miya0001","html_url":"https://github.com/miya0001","followers_url":"https://api.github.com/users/miya0001/followers","following_url":"https://api.github.com/users/miya0001/following{/other_user}","gists_url":"https://api.github.com/users/miya0001/gists{/gist_id}","starred_url":"https://api.github.com/users/miya0001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miya0001/subscriptions","organizations_url":"https://api.github.com/users/miya0001/orgs","repos_url":"https://api.github.com/users/miya0001/repos","events_url":"https://api.github.com/users/miya0001/events{/privacy}","received_events_url":"https://api.github.com/users/miya0001/received_events","type":"User","site_admin":false},"created_at":"2017-03-10T21:13:43Z","updated_at":"2017-03-10T21:13:43Z","body":"CSVは `data` ディレクトリに入れないで、`npm run build` で持ってくるように修正。\r\n実際に作ってみたらローカルのCSVは無視でいいと思った。\r\n\r\n以下のIssueとセットで対処する\r\nhttps://github.com/wakayama-hacker/wmap/issues/63"}}
{"actor":{"display_login":"miya0001"}}