[問題] gtrendR錯誤訊息不知如何解決

看板R_Language作者 (...)時間8年前 (2017/07/18 22:22), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/2 (看更多)
[問題類型]: 程式諮詢(我想用R 做某件事情,但是我不知道要怎麼用R 寫出來) [軟體熟悉度]: 請把以下不需要的部份刪除 新手(沒寫過程式,R 是我的第一次) [問題敘述]: 使用gtrendsR套件,出現下列錯誤訊息,但不知道該如何解決。 錯誤: Not enough search volume. Please change your search terms. 此外: Warning message: In request_GET(x, url, ...) : Gone (HTTP 410). [程式範例] install.packages("gtrendsR") library(gtrendsR) account_code <- gconnect(usr = "username", psw = "password") gtrends(query = "Brexit",start_date = "2016-01-01",end_date = "2017-07-15")[程式範例]: usr與psw是登入gmail的帳號密碼,不方便給大家,跟大家說抱歉。 [環境敘述]: > sessionInfo() R version 3.3.2 (2016-10-31) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: macOS Sierra 10.12.3 locale: [1] zh_TW.UTF-8/zh_TW.UTF-8/zh_TW.UTF-8/C/zh_TW.UTF-8/zh_TW.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] gtrendsR_1.3.5 loaded via a namespace (and not attached): [1] Rcpp_0.12.10 lattice_0.20-35 codetools_0.2-15 XML_3.98-1.6 [5] zoo_1.8-0 grid_3.3.2 plyr_1.8.4 R6_2.2.0 [9] jsonlite_1.4 gtable_0.2.0 magrittr_1.5 scales_0.4.1 [13] ggplot2_2.2.1 httr_1.2.1 stringi_1.1.5 curl_2.6 [17] lazyeval_0.2.0 googleVis_0.6.2 xml2_1.1.1 tools_3.3.2 [21] stringr_1.2.0 selectr_0.3-1 munsell_0.4.3 colorspace_1.3-2 [25] rvest_0.3.2 tibble_1.3.0 [關鍵字]: gtrendsR -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 61.219.41.219 ※ 文章網址: https://www.ptt.cc/bbs/R_Language/M.1500387732.A.9C5.html
文章代碼(AID): #1PRXcKd5 (R_Language)
文章代碼(AID): #1PRXcKd5 (R_Language)