How tenzinomics/google-search-index works
GSI is a Python tool that builds a topic search index from Google Trends. A user calls the public function, which gathers related-query and interest-over-time data, selects the PCA model, and returns the source data, queries, and index. The README also describes visualization as a usage option, but the sampled implementation does not show a plotting workflow. The graph reflects the sampled GSI.py; other notebooks were not inspected.
Main entry points: GSI.py Search API
Components 8
Entry and results
- Search API
General Search Index/GSI.py - Result assembly
General Search Index/GSI.py
Trends data
- Trends collector
General Search Index/GSI.py - Google Trends
Index modeling
- Model selection
General Search Index/GSI.py - Trend transformation
General Search Index/GSI.py - PCA index
General Search Index/GSI.py
Other components
- User
Connections 9
- User → Search API: calls
README.md - Search API → Trends collector: requests data
General Search Index/GSI.py - Trends collector → Google Trends: requests trends
General Search Index/GSI.py - Search API → Model selection: selects model
General Search Index/GSI.py - Model selection → PCA index: dispatches to
General Search Index/GSI.py - PCA index → Trend transformation: transforms data
General Search Index/GSI.py - Search API → Result assembly: assembles result
General Search Index/GSI.py - Trends collector → Result assembly: returns data
General Search Index/GSI.py - Model selection → Result assembly: returns index
General Search Index/GSI.py