{"action":"opened","issue":{"url":"https://api.github.com/repos/alfredkam/bigData/issues/5","labels_url":"https://api.github.com/repos/alfredkam/bigData/issues/5/labels{/name}","comments_url":"https://api.github.com/repos/alfredkam/bigData/issues/5/comments","events_url":"https://api.github.com/repos/alfredkam/bigData/issues/5/events","html_url":"https://github.com/alfredkam/bigData/issues/5","id":66741351,"number":5,"title":"Incorrect usage examples","user":{"login":"adrianblynch","id":4160967,"avatar_url":"https://avatars.githubusercontent.com/u/4160967?v=3","gravatar_id":"","url":"https://api.github.com/users/adrianblynch","html_url":"https://github.com/adrianblynch","followers_url":"https://api.github.com/users/adrianblynch/followers","following_url":"https://api.github.com/users/adrianblynch/following{/other_user}","gists_url":"https://api.github.com/users/adrianblynch/gists{/gist_id}","starred_url":"https://api.github.com/users/adrianblynch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adrianblynch/subscriptions","organizations_url":"https://api.github.com/users/adrianblynch/orgs","repos_url":"https://api.github.com/users/adrianblynch/repos","events_url":"https://api.github.com/users/adrianblynch/events{/privacy}","received_events_url":"https://api.github.com/users/adrianblynch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-07T00:47:36Z","updated_at":"2015-04-07T00:47:36Z","closed_at":null,"body":"I had to use csv-to-json as follows:\r\n```\r\nvar ctj = require(\"csv-to-json\")\r\n\r\nvar json = ctj.parse({filename: \"./bus-stops.csv\", function (err, result) {\r\n\tconsole.log(err, result);\r\n})\r\n```\r\n\r\nNot as the docs suggest:\r\n```\r\nvar csv = require(\"./csv.js\");\r\nvar json = csv.parse('path/to/file');\r\n```\r\n\r\nHave I misunderstood something?"}}