Package: globaltrends 0.2.0
globaltrends: Download and Measure Global Trends Through 'Google' Search Volumes
'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://www.ssrn.com/abstract=3969013>.
Authors:
globaltrends_0.2.0.tar.gz
globaltrends_0.2.0.zip(r-4.7)globaltrends_0.2.0.zip(r-4.6)globaltrends_0.2.0.zip(r-4.5)
globaltrends_0.2.0.tgz(r-4.6-any)globaltrends_0.2.0.tgz(r-4.5-any)
globaltrends_0.2.0.tar.gz(r-4.7-any)globaltrends_0.2.0.tar.gz(r-4.6-any)
globaltrends_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
globaltrends/json (API)
| # Install 'globaltrends' in R: |
| install.packages('globaltrends', repos = c('https://ha-pu.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/ha-pu/globaltrends/issues
- countries - Default location set: countries
- countries_wdi - Country codes and names from WDI
- example_control - Example table: control downloads
- example_doi - Example table: degree of internationalization
- example_keywords - Example table: keyword batches
- example_object - Example table: object downloads
- example_score - Example table: computed scores
- example_time - Example table: batch time windows
- us_states - Default location set: US states
google-trendsinternationalization
Last updated from:b061ef2d28. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 220 | ||
| source / vignettes | OK | 252 | ||
| linux-release-x86_64 | OK | 211 | ||
| macos-release-arm64 | OK | 132 | ||
| macos-oldrel-arm64 | OK | 120 | ||
| windows-devel | OK | 169 | ||
| windows-release | OK | 174 | ||
| windows-oldrel | OK | 167 | ||
| wasm-release | OK | 167 |
Exports:add_control_keywordadd_locationsadd_object_keywordadd_synonymaggregate_synonymscompute_doicompute_scorecompute_voidisconnect_dbdownload_controldownload_control_globaldownload_objectdownload_object_globaldownload_regiondownload_region_globaldownload_relateddownload_themesdownload_themes_globaldownload_themes_risingdownload_themes_rising_globaldownload_topicsdownload_topics_globaldownload_topics_risingdownload_topics_rising_globalexport_controlexport_control_globalexport_doiexport_objectexport_object_globalexport_scoreexport_voiget_api_usagegt.envinitialize_dbinitialize_pythonremove_datastart_dbvacuum_data
Dependencies:anytimearrowassertthatBHbitbit64blobcachemclicpp11curlDBIdbplyrdplyrfarverfastmapgenericsggplot2gluegtablegtrendsRhereisobandjsonlitelabelinglatticelifecyclemagrittrMatrixmemoisepillarpkgconfigpngpurrrR6rappdirsRColorBrewerRcppRcppTOMLreticulaterlangrprojrootRSQLiteS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Add batches of control or object keywords | add_control_keyword add_keyword add_object_keyword |
| Add a location set | add_locations |
| Add synonyms for object keywords | add_synonym |
| Aggregate search scores across synonym terms | aggregate_synonyms |
| Example table: keyword batches ('batch_keywords') | batch_keywords example_keywords |
| Example table: batch time windows ('batch_time') | batch_time example_time |
| Compute degree of internationalization (DOI) | compute_doi compute_doi.list compute_doi.numeric |
| Compute search scores for object keywords | compute_score compute_score.list compute_score.numeric compute_voi |
| Default location set: countries | countries |
| Country codes and names from WDI | countries_wdi |
| Example table: control downloads ('data_control') | data_control example_control |
| Example table: degree of internationalization ('data_doi') | data_doi example_doi |
| Example table: object downloads ('data_object') | data_object example_object |
| Example table: computed scores ('data_score') | data_score example_score |
| Disconnect from the database and persist changes | disconnect_db |
| Download data for control keyword batches | download_control download_control.list download_control.numeric download_control_global |
| Download data for object keyword batches | download_object download_object.list download_object.numeric download_object_global |
| Download regional interest data for object keywords | download_region download_region.list download_region.numeric download_region_global |
| Download related topics and themes for object keyword batches | download_related download_related.list download_related.numeric download_themes download_themes_global download_themes_rising download_themes_rising_global download_topics download_topics_global download_topics_rising download_topics_rising_global |
| Export data from database tables | export_control export_control_global export_doi export_object export_object_global export_score export_voi |
| Report daily Research API usage | get_api_usage |
| Package environment for internal state | gt.env |
| Initialize the local database store | initialize_db |
| Initialize Python backend for Google Trends Research API | initialize_python |
| Remove data from database tables | remove_data vacuum_data |
| Start a database session | start_db |
| Default location set: US states | us_states |
