Skip to content

globaltrends

Download and Measure Global Trends Through Google Search Volumes

v0.0.14 · Mar 6, 2023 · MIT + file LICENSE

Description

Google offers public access to global search volumes from its search engine through the Google Trends portal. The package downloads these search volumes provided by Google Trends and uses them to measure and analyze the distribution of search scores across countries or within countries. The package allows researchers and analysts to use these search scores to investigate global trends based on patterns within these scores. This offers insights such as degree of internationalization of firms and organizations or dissemination of political, social, or technological trends across the globe or within single countries. An outline of the package's methodological foundations and potential applications is available as a working paper: <https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3969013>.

Downloads

CRAN

321

Last 30 days

14118th

648

Last 90 days

2.5K

Last year

Trend: +119.9% (30d vs prior 30d)

r2u CRAN

0

Last 30 days

23

Last 90 days

109

Last year

Trend: -100% (30d vs prior 30d)

autoCRAN

3

Last 7 days

19

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Package required but not available: ‘dbplyr’

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

8,865

Files

105

Compiled share

0%

Has compiled src

No

Language breakdown

R 3,732 (42.1%)Tests 2,716 (30.6%)Docs 1,802 (20.3%)Vignettes 615 (6.9%)

API

Exported functions

29

Internal functions

54

Recent export changes

v0.0.14−1 plot_map
v0.0.13+1 vacuum_data  −1 .aggregate_synonym

Testing & CI

Has tests

Yes

Test-to-code ratio

0.73

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

94.4%

\dontrun example ratio

100%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

Yes

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

100%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

3

First release

2022-06-23

Latest release

2023-03-06

Avg cadence

128 days

Cold removal rate

100%

Dep drift

16

LOC over versions

v0.0.12: 8,781 LOCv0.0.13: 9,136 LOCv0.0.14: 8,865 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies DBI dbplyr dplyr forcats forecast ggplot2 gtrendsR lubridate purrr rlang (>= 0.4.7) RSQLite stringr (>= 1.4.0) tibble tidyr zoo globaltrends

Version History

4 tracked
new 0.0.14 Mar 10, 2026
updated 0.0.14 ← 0.0.13 diff Mar 5, 2023
updated 0.0.13 ← 0.0.12 diff Feb 22, 2023
new 0.0.12 Jun 22, 2022