gtrendsR
R functions to perform and display Google Trends queries
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
Keywords from Contributors
Repository
R functions to perform and display Google Trends queries
Basic Info
Statistics
- Stars: 362
- Watchers: 35
- Forks: 110
- Open Issues: 35
- Releases: 17
Topics
Metadata Files
README.md
gtrendsR
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
- Website: www.pmassicotte.com
- Twitter: philmassicotte
- Repositories: 11
- Profile: https://github.com/PMassicotte
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
Top Committers
| Name | 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
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
- Documentation: https://pkg.go.dev/github.com/pmassicotte/gtrendsr#section-documentation
-
Latest release: v1.5.1
published almost 4 years ago
Rankings
proxy.golang.org: github.com/PMassicotte/gtrendsR
- Documentation: https://pkg.go.dev/github.com/PMassicotte/gtrendsR#section-documentation
-
Latest release: v1.5.1
published almost 4 years ago
Rankings
cran.r-project.org: gtrendsR
Perform and Display Google Trends Queries
- Homepage: https://github.com/PMassicotte/gtrendsR
- Documentation: http://cran.r-project.org/web/packages/gtrendsR/gtrendsR.pdf
- License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
-
Latest release: 1.5.2
published 6 months ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.5.0 depends
- anytime * imports
- curl * imports
- ggplot2 * imports
- jsonlite * imports
- knitr * suggests
- rmarkdown * suggests
- tinytest * suggests
- actions/checkout v2 composite