Problem with date in x-axe with gtrends and plotly
まだ誰も着手していません。
- 主要言語
- R
- スター
- 2.7k
- フォーク
- 641
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
I have a problem with plotly. I have write a brief code to show you my problem. The x-axe is not the same with ggplot and ggplotly. GGplot is the write x-axe. Can you help me?
trends <- gtrends("Hotel",time=paste(today()-years(1),today()))
time_trends <- trends$interest_over_time
plot <- ggplot(data=time_trends,aes(x=date,y=hits,group=keyword,col=keyword)) + geom_line()+xlab('Time')+ylab('Relative Interest')+ theme_bw()+
theme(legend.title = element_blank(),legend.position="bottom",legend.text=element_text(size=12))#+ggtitle("Google Search Volume")
plot
ggplotly(plot)
Thank you
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
リポジトリのファイルやテストは指定されていません。まず、提供された R の例を gtrends、ggplot、ggplotly で実行し、次に日付軸を比較して、具体的な不一致を記録してください。インタラクティブプロットが期待される ggplot の日付軸を保持すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- r
- 領域
- data-visualization
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 20/100