gtrendsR

R functions to perform and display Google Trends queries

https://github.com/pmassicotte/gtrendsr

Science Score: 23.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    2 of 19 committers (10.5%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (13.3%) to scientific vocabulary

Keywords

google google-trends

Keywords from Contributors

rmarkdown latex
Last synced: 6 months ago · JSON representation

Repository

R functions to perform and display Google Trends queries

Basic Info
  • Host: GitHub
  • Owner: PMassicotte
  • Language: R
  • Default Branch: master
  • Homepage:
  • Size: 14.4 MB
Statistics
  • Stars: 362
  • Watchers: 35
  • Forks: 110
  • Open Issues: 35
  • Releases: 17
Topics
google google-trends
Created over 10 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog

README.md

gtrendsR

GitHub Actions Build Status License CRAN Downloads

gtrendsR provides an interface for retrieving and displaying Google Trends information.

Trends (number of hits) over time as well as geographic representation of the results can be displayed.

Example

In this simple example, trends for keywords nhl, nba are retrieved for Canada and USA and then plotted from R.

``` {.r} library(gtrendsR)

res <- gtrends(c("nhl", "nba"), geo = c("CA", "US")) plot(res) ```

Installation

Since release 1.3.0, the package is on CRAN and can be installed via

{.r} install.packages("gtrendsR")

Release-candidate packages are available in the ghrr drat repository and can installed via

r install.packages("drat") # easier repo access + creation drat:::add("ghrr") # make it known install.packages("gtrendsR") # install it

Development version (which may be less stable) can be installed directly from this repository via

{.r} if (!require("devtools")) install.packages("devtools") devtools::install_github("PMassicotte/gtrendsR")

Using gtrendsR behind a PROXY.

If gtrendsR should be used behind a proxy, especially with NTLM authentication mode, you need to set the proxy parameters using "setHandleParameters" function

Example

``` {.r} library(gtrendsR)

setHandleParameters(user = "xxxx", password = "*******", domain = "mydomain", proxyhost = "10.111.124.113", proxyport = 8080) res <- gtrends(c("nhl", "nba"), geo = c("CA", "US")) ```

Additional information

Authors

Philippe Massicotte and Dirk Eddelbuettel

License

GPL (>= 2)

Owner

  • Name: Philippe Massicotte
  • Login: PMassicotte
  • Kind: user
  • Location: Canada

Research Associate Takuvik Joint International Laboratory (UMI 3376) Université Laval (Canada) & Centre National de la Recherche

GitHub Events

Total
  • Issues event: 2
  • Watch event: 12
  • Issue comment event: 17
  • Push event: 9
  • Create event: 1
Last Year
  • Issues event: 2
  • Watch event: 12
  • Issue comment event: 17
  • Push event: 9
  • Create event: 1

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 475
  • Total Committers: 19
  • Avg Commits per committer: 25.0
  • Development Distribution Score (DDS): 0.408
Past Year
  • Commits: 2
  • Committers: 2
  • Avg Commits per committer: 1.0
  • Development Distribution Score (DDS): 0.5
Top Committers
Name Email Commits
Philippe Massicotte p****e@h****m 281
Dirk Eddelbuettel e****d@d****g 69
Philippe Massicotte p****e@h****m 30
zachokeeffe z****e@g****m 17
Johannes Bleher J****r@g****m 16
VictorYammouni 3****i 16
Johannes Bleher i****e@e****e 15
Al Firrell a****l@g****m 10
Joachim Gassen g****n@w****e 4
antaldaniel a****l@g****m 3
ApexOfKnowledge J****r@u****e 3
Bastiaan Quast b****t@g****m 2
Josh Yazman j****n@g****m 2
mamut86 m****6 2
IWIW J****r@g****m 1
Sven Thies s****s@t****e 1
Jeremiah Lewis j****s@r****e 1
Jeremiah j****1 1
Katrin Leinweber 9****r 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 110
  • Total pull requests: 11
  • Average time to close issues: 6 months
  • Average time to close pull requests: about 14 hours
  • Total issue authors: 89
  • Total pull request authors: 2
  • Average comments per issue: 5.24
  • Average comments per pull request: 1.73
  • Merged pull requests: 11
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 3
  • Pull requests: 1
  • Average time to close issues: N/A
  • Average time to close pull requests: 1 day
  • Issue authors: 3
  • Pull request authors: 1
  • Average comments per issue: 7.67
  • Average comments per pull request: 1.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • PMassicotte (7)
  • shrikant2002 (4)
  • marcyshieh (3)
  • prasadsourav (3)
  • ferghobbs (2)
  • malteh123 (2)
  • henriquefpires (2)
  • amitxy (2)
  • lukschue (2)
  • liliagarciamanrique (2)
  • ilolic (2)
  • bampigio (2)
  • sbenjelloun (1)
  • Brummerling (1)
  • yhbb1997 (1)
Pull Request Authors
  • PMassicotte (6)
  • eddelbuettel (6)
Top Labels
Issue Labels
enhancement (1) question (1)
Pull Request Labels

Packages

  • Total packages: 3
  • Total downloads:
    • cran 1,669 last-month
  • Total docker downloads: 43,433
  • Total dependent packages: 3
    (may contain duplicates)
  • Total dependent repositories: 9
    (may contain duplicates)
  • Total versions: 52
  • Total maintainers: 1
proxy.golang.org: github.com/pmassicotte/gtrendsr
  • Versions: 17
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.5%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 6 months ago
proxy.golang.org: github.com/PMassicotte/gtrendsR
  • Versions: 17
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent packages count: 5.5%
Average: 5.6%
Dependent repos count: 5.8%
Last synced: 6 months ago
cran.r-project.org: gtrendsR

Perform and Display Google Trends Queries

  • Versions: 18
  • Dependent Packages: 3
  • Dependent Repositories: 9
  • Downloads: 1,669 Last month
  • Docker Downloads: 43,433
Rankings
Forks count: 0.5%
Stargazers count: 1.1%
Downloads: 5.4%
Average: 8.5%
Dependent repos count: 9.8%
Dependent packages count: 10.9%
Docker downloads count: 23.2%
Maintainers (1)
Last synced: 6 months ago

Dependencies

DESCRIPTION cran
  • R >= 3.5.0 depends
  • anytime * imports
  • curl * imports
  • ggplot2 * imports
  • jsonlite * imports
  • knitr * suggests
  • rmarkdown * suggests
  • tinytest * suggests
.github/workflows/ci.yaml actions
  • actions/checkout v2 composite