{"action":"created","issue":{"url":"https://api.github.com/repos/Rblp/Rblpapi/issues/159","repository_url":"https://api.github.com/repos/Rblp/Rblpapi","labels_url":"https://api.github.com/repos/Rblp/Rblpapi/issues/159/labels{/name}","comments_url":"https://api.github.com/repos/Rblp/Rblpapi/issues/159/comments","events_url":"https://api.github.com/repos/Rblp/Rblpapi/issues/159/events","html_url":"https://github.com/Rblp/Rblpapi/issues/159","id":143980601,"number":159,"title":"Int32 is not enough for VOLUME data","user":{"login":"BenderOlsson","id":4222575,"avatar_url":"https://avatars.githubusercontent.com/u/4222575?v=3","gravatar_id":"","url":"https://api.github.com/users/BenderOlsson","html_url":"https://github.com/BenderOlsson","followers_url":"https://api.github.com/users/BenderOlsson/followers","following_url":"https://api.github.com/users/BenderOlsson/following{/other_user}","gists_url":"https://api.github.com/users/BenderOlsson/gists{/gist_id}","starred_url":"https://api.github.com/users/BenderOlsson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BenderOlsson/subscriptions","organizations_url":"https://api.github.com/users/BenderOlsson/orgs","repos_url":"https://api.github.com/users/BenderOlsson/repos","events_url":"https://api.github.com/users/BenderOlsson/events{/privacy}","received_events_url":"https://api.github.com/users/BenderOlsson/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-28T13:43:03Z","updated_at":"2016-03-28T13:48:58Z","closed_at":null,"body":"Hi\r\nI have spotted that bdh throws an error \"Error: Attempt to access value of element 'VOLUME'(type: 'Float64') as 'Int32' type.\" when downloading volume data. This error can be replicated by using ticker \"WMT US Equity\" and download the complete history, the maximum value the field can take for this security is 39609958400 so clearly Int32 is not enough. The best solution I have is to support Int64 or return the field value as a numeric or character value in case it fails so that the user can manage the issue afterwards."},"comment":{"url":"https://api.github.com/repos/Rblp/Rblpapi/issues/comments/202401481","html_url":"https://github.com/Rblp/Rblpapi/issues/159#issuecomment-202401481","issue_url":"https://api.github.com/repos/Rblp/Rblpapi/issues/159","id":202401481,"user":{"login":"eddelbuettel","id":673121,"avatar_url":"https://avatars.githubusercontent.com/u/673121?v=3","gravatar_id":"","url":"https://api.github.com/users/eddelbuettel","html_url":"https://github.com/eddelbuettel","followers_url":"https://api.github.com/users/eddelbuettel/followers","following_url":"https://api.github.com/users/eddelbuettel/following{/other_user}","gists_url":"https://api.github.com/users/eddelbuettel/gists{/gist_id}","starred_url":"https://api.github.com/users/eddelbuettel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eddelbuettel/subscriptions","organizations_url":"https://api.github.com/users/eddelbuettel/orgs","repos_url":"https://api.github.com/users/eddelbuettel/repos","events_url":"https://api.github.com/users/eddelbuettel/events{/privacy}","received_events_url":"https://api.github.com/users/eddelbuettel/received_events","type":"User","site_admin":false},"created_at":"2016-03-28T13:48:58Z","updated_at":"2016-03-28T13:48:58Z","body":"```r\r\nR> zz <- bdh(\"WMT US Equity\", c(\"PX_LAST\", \"VOLUME\"), start.date=as.Date(\"2016-01-01\"))            \r\nR> head(zz)\r\n        date PX_LAST   VOLUME\r\n1 2016-01-04 61.0084 11989191\r\n2 2016-01-05 62.4576 13325958\r\n3 2016-01-06 63.0830 16564620\r\n4 2016-01-07 64.5521 26430005\r\n5 2016-01-08 63.0731 17767864\r\n6 2016-01-11 63.7481 12653762\r\nR> \r\n\r\n```\r\n"}}