| Title: | A Tidy Wrapper Around 'gtrendsR' |
|---|---|
| Description: | Access Google Trends information. This package provides a tidy wrapper to the 'gtrendsR' package. Use four spaces when indenting paragraphs within the Description. |
| Authors: | Josiah Parry [aut, cre] |
| Maintainer: | Josiah Parry <[email protected]> |
| License: | GPL-2 |
| Version: | 0.1.1 |
| Built: | 2026-10-18 21:34:45 UTC |
| Source: | https://github.com/josiahparry/trendyy |
Extract a tibble of interest over time
get_interest(trendy)get_interest(trendy)
trendy |
An object of class trendy created via |
## Not run: ob <- trendy("obama") get_interest(ob) ## End(Not run)## Not run: ob <- trendy("obama") get_interest(ob) ## End(Not run)
Extract a tibble of interest by city from trendy object
get_interest_city(trendy)get_interest_city(trendy)
trendy |
An object of class trendy created via |
## Not run: ob <- trendy("obama") get_interest_city(ob) ## End(Not run)## Not run: ob <- trendy("obama") get_interest_city(ob) ## End(Not run)
Extract a tibble of interest by country from trendy object
get_interest_country(trendy)get_interest_country(trendy)
trendy |
An object of class trendy created via |
## Not run: ob <- trendy("obama") get_interest_country(ob) ## End(Not run)## Not run: ob <- trendy("obama") get_interest_country(ob) ## End(Not run)
Extract a tibble of interest by DMA from trendy object
get_interest_dma(trendy)get_interest_dma(trendy)
trendy |
An object of class trendy created via |
## Not run: ob <- trendy("obama") get_interest_dma(ob) ## End(Not run)## Not run: ob <- trendy("obama") get_interest_dma(ob) ## End(Not run)
Extract a tibble of interest by region from trendy object
get_interest_region(trendy)get_interest_region(trendy)
trendy |
An object of class trendy created via |
## Not run: ob <- trendy("obama") get_interest_region(ob) ## End(Not run)## Not run: ob <- trendy("obama") get_interest_region(ob) ## End(Not run)
Search Google Trends to retrieve relative hits and popularity. This supports comparison of up to 5 search terms. Anything more than that will be searched individually.
trendy(search_terms, from = NA, to = NA, ...) ## S3 method for class 'trendy' print(x, ...)trendy(search_terms, from = NA, to = NA, ...) ## S3 method for class 'trendy' print(x, ...)
search_terms |
A character vector containing the search terms of interest |
from |
The beginning date of the query |
to |
The beginning date of the query |
... |
arguments passed to |
x |
trendy object |
An object of class 'trendy'
## Not run: trendy("RStudio 1.2") ## End(Not run)## Not run: trendy("RStudio 1.2") ## End(Not run)