dygraphs icon indicating copy to clipboard operation
dygraphs copied to clipboard

Is it compatible with tidyquant

Open vikram-rawat opened this issue 8 years ago • 6 comments

R studio is trying to make a Timeseries a part of tidyverse. But I have no idea how to use it with Dygraph.

library(tidyquant) library(highcharter) library(dygraphs) AAPL <- tq_get("AAPL", get = "stock.prices", from = "2015-09-01", to = "2016-12-31") AMZN <- tq_get("AMZN", get = "stock.prices", from = "2000-01-01", to = "2016-12-31") AAPL %>% dygraph()

This simply Doesn't work.

Any suggestion or are you trying to Include this format as well.

vikram-rawat avatar Aug 18 '17 05:08 vikram-rawat

Here's where we convert the incoming data to a time-series: https://github.com/rstudio/dygraphs/blob/master/R/dygraph.R#L42-L57

It's probably just a matter of having the authors of tidyquant take a look at this and give us a PR for handling tidyquant correctly

jjallaire avatar Aug 18 '17 13:08 jjallaire

If it's just a matter of co-ordination I have opened an issue on their github.

https://github.com/business-science/tidyquant/issues/68

Please add yourself to the question as well.

vikram-rawat avatar Sep 20 '17 11:09 vikram-rawat

@vikram-rawat

Thanks for giving us a heads up about this. I'm sure we can integrate (although I havent had a chance to investigate thoroughly yet). We may need your help testing it out. @DavisVaughan and I will take a look.

Thanks, Matt

mdancho84 avatar Sep 22 '17 15:09 mdancho84

I will be ready to test it if possible. I can't help you with coding though. But I liked both of your packages and if they don't go hand in hand than there is some problem.

vikram-rawat avatar Sep 29 '17 09:09 vikram-rawat

Is there any update on it???

vikram-rawat avatar Dec 18 '17 09:12 vikram-rawat

Is this library no longer maintained???

vikram-rawat avatar Jun 27 '19 08:06 vikram-rawat