{"id":17873995,"url":"https://github.com/pmassicotte/gtrendsr","last_synced_at":"2025-05-15T20:01:12.424Z","repository":{"id":37733337,"uuid":"46122020","full_name":"PMassicotte/gtrendsR","owner":"PMassicotte","description":"R functions to perform and display Google Trends queries","archived":false,"fork":false,"pushed_at":"2024-08-25T13:59:53.000Z","size":15130,"stargazers_count":359,"open_issues_count":35,"forks_count":112,"subscribers_count":35,"default_branch":"master","last_synced_at":"2025-05-10T18:45:30.519Z","etag":null,"topics":["google","google-trends"],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PMassicotte.png","metadata":{"files":{"readme":"README.md","changelog":"NEWS.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-11-13T12:57:08.000Z","updated_at":"2025-03-16T10:37:54.000Z","dependencies_parsed_at":"2024-08-25T15:04:37.140Z","dependency_job_id":"5c0665cd-7ad4-4744-b257-fca4d1e0a620","html_url":"https://github.com/PMassicotte/gtrendsR","commit_stats":{"total_commits":472,"total_committers":19,"mean_commits":"24.842105263157894","dds":0.4088983050847458,"last_synced_commit":"d53b9b7bd448180ab8640cba1db07065ff60ab83"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PMassicotte%2FgtrendsR","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PMassicotte%2FgtrendsR/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PMassicotte%2FgtrendsR/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PMassicotte%2FgtrendsR/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PMassicotte","download_url":"https://codeload.github.com/PMassicotte/gtrendsR/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254414457,"owners_count":22067263,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["google","google-trends"],"created_at":"2024-10-28T11:07:15.088Z","updated_at":"2025-05-15T20:01:11.687Z","avatar_url":"https://github.com/PMassicotte.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n## gtrendsR \n[![GitHub Actions Build Status](https://github.com/PMassicotte/gtrendsR/actions/workflows/ci.yaml/badge.svg)](https://github.com/PMassicotte/gtrendsR/actions/workflows/ci.yaml)\n[![License](https://eddelbuettel.github.io/badges/GPL2+.svg)](https://www.gnu.org/licenses/gpl-2.0.html) \n[![CRAN](https://www.r-pkg.org/badges/version/gtrendsR)](https://cran.r-project.org/package=gtrendsR) \n[![Downloads](https://cranlogs.r-pkg.org/badges/gtrendsR?color=brightgreen)](https://www.r-pkg.org:443/pkg/gtrendsR)\n\n`gtrendsR` provides an interface for retrieving and displaying Google Trends information. \n\nTrends (number of hits) over time as well as geographic representation of the results can be displayed.\n\n### Example\n\nIn this simple example, trends for keywords `nhl`, `nba` are retrieved for Canada and USA and then plotted from R.\n\n``` {.r}\nlibrary(gtrendsR)\n\nres \u003c- gtrends(c(\"nhl\", \"nba\"), geo = c(\"CA\", \"US\"))\nplot(res)\n```\n\n### Installation\n\nSince release 1.3.0, the package is on [CRAN](https://cran.r-project.org) and\ncan be installed via\n\n``` {.r}\ninstall.packages(\"gtrendsR\")\n```\n\nRelease-candidate packages are available in the [ghrr drat repository](https://ghrr.github.io/drat/)\nand can installed via\n\n```r\ninstall.packages(\"drat\")       # easier repo access + creation\ndrat:::add(\"ghrr\")             # make it known\ninstall.packages(\"gtrendsR\")   # install it\n```\n\nDevelopment version (which may be less stable) can be installed directly from this repository via\n\n``` {.r}\nif (!require(\"devtools\")) install.packages(\"devtools\")\ndevtools::install_github(\"PMassicotte/gtrendsR\")\n```\n\n## Using gtrendsR behind a PROXY.\n\nIf gtrendsR should be used behind a proxy, especially with NTLM authentication mode,\nyou need to set the proxy parameters using \"setHandleParameters\" function\n\n### Example\n\n``` {.r}\nlibrary(gtrendsR)\n\nsetHandleParameters(user = \"xxxx\", password = \"*******\", domain = \"mydomain\", proxyhost = \"10.111.124.113\", proxyport = 8080)\nres \u003c- gtrends(c(\"nhl\", \"nba\"), geo = c(\"CA\", \"US\"))\n```\n\n## Additional information\n\n- [Limits and quotas on API requests](https://developers.google.com/analytics/devguides/reporting/mcf/v3/limits-quotas)\n\n### Authors\n\nPhilippe Massicotte and Dirk Eddelbuettel\n\n### License\n\nGPL (\u003e= 2)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmassicotte%2Fgtrendsr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpmassicotte%2Fgtrendsr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpmassicotte%2Fgtrendsr/lists"}