{"action":"created","issue":{"url":"https://api.github.com/repos/business-science/tidyquant/issues/40","repository_url":"https://api.github.com/repos/business-science/tidyquant","labels_url":"https://api.github.com/repos/business-science/tidyquant/issues/40/labels{/name}","comments_url":"https://api.github.com/repos/business-science/tidyquant/issues/40/comments","events_url":"https://api.github.com/repos/business-science/tidyquant/issues/40/events","html_url":"https://github.com/business-science/tidyquant/issues/40","id":229345076,"number":40,"title":"tq_get(), get = \"key.ratios\": Returns NA with error message","user":{"login":"mdancho84","id":13734662,"avatar_url":"https://avatars0.githubusercontent.com/u/13734662?v=3","gravatar_id":"","url":"https://api.github.com/users/mdancho84","html_url":"https://github.com/mdancho84","followers_url":"https://api.github.com/users/mdancho84/followers","following_url":"https://api.github.com/users/mdancho84/following{/other_user}","gists_url":"https://api.github.com/users/mdancho84/gists{/gist_id}","starred_url":"https://api.github.com/users/mdancho84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdancho84/subscriptions","organizations_url":"https://api.github.com/users/mdancho84/orgs","repos_url":"https://api.github.com/users/mdancho84/repos","events_url":"https://api.github.com/users/mdancho84/events{/privacy}","received_events_url":"https://api.github.com/users/mdancho84/received_events","type":"User","site_admin":false},"labels":[{"id":509434828,"url":"https://api.github.com/repos/business-science/tidyquant/labels/bug","name":"bug","color":"ee0701","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-05-17T13:04:16Z","updated_at":"2017-05-17T20:38:15Z","closed_at":null,"body":"This issue is related to issue #38 in which Yahoo! Finance changed URL. An example of the issue is shown below. We are working on the problem and intend to have a fix soon. We appreciate your patience while we work to resolve the issue.\r\n\r\n```\r\n> tq_get(\"AAPL\", \"key.ratios\")\r\nadditional arguments ignored in warning()\r\n[1] NA\r\nWarning messages:\r\n1: x = 'AAPL', get = 'stock.prices': Error in download.file(paste(yahoo.URL, \"s=\", Symbols.name, \"&a=\", from.m, : cannot open URL 'https://ichart.finance.yahoo.com/table.csv?s=AAPL&a=4&b=17&c=2005&d=4&e=17&f=2017&g=d&q=q&y=0&z=AAPL&x=.csv'\r\n \r\n2: x = 'AAPL', get = 'key.ratios': Error in value[[3L]](cond): object 'key_ratios' not found\r\n```"},"comment":{"url":"https://api.github.com/repos/business-science/tidyquant/issues/comments/302224603","html_url":"https://github.com/business-science/tidyquant/issues/40#issuecomment-302224603","issue_url":"https://api.github.com/repos/business-science/tidyquant/issues/40","id":302224603,"user":{"login":"mdancho84","id":13734662,"avatar_url":"https://avatars0.githubusercontent.com/u/13734662?v=3","gravatar_id":"","url":"https://api.github.com/users/mdancho84","html_url":"https://github.com/mdancho84","followers_url":"https://api.github.com/users/mdancho84/followers","following_url":"https://api.github.com/users/mdancho84/following{/other_user}","gists_url":"https://api.github.com/users/mdancho84/gists{/gist_id}","starred_url":"https://api.github.com/users/mdancho84/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdancho84/subscriptions","organizations_url":"https://api.github.com/users/mdancho84/orgs","repos_url":"https://api.github.com/users/mdancho84/repos","events_url":"https://api.github.com/users/mdancho84/events{/privacy}","received_events_url":"https://api.github.com/users/mdancho84/received_events","type":"User","site_admin":false},"created_at":"2017-05-17T20:38:15Z","updated_at":"2017-05-17T20:38:15Z","body":"Josh Ulrich has implemented a fix in quantmod that resolves this bug. Use devtools to install:\r\n```\r\ndevtools::install_github(\"joshuaulrich/quantmod\", ref=\"157_yahoo_502\")\r\n```"}}
{"actor":{"display_login":"mdancho84"}}