Skip to content

rahulslj/Google_Trends_Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Google Trends Analysis

Welcome to the Google Trends Analysis project! This repository provides a comprehensive guide on how to analyze Google Trends data using Power BI, leveraging the capabilities of the SerpApi.

Google Trends Analysis with Power BI

Welcome to the Google Trends Analysis project! This repository provides a comprehensive guide on how to analyze Google Trends data using Power BI, leveraging the capabilities of the SerpApi.

Table of Contents

Introduction

This project aims to demonstrate how to use Power BI to perform a detailed analysis of Google Trends data. By integrating Power BI with SerpApi, we can automate the process of fetching the latest trends and visualizing them in an interactive and insightful manner.

Features

  • Automated Data Collection: Use SerpApi to fetch Google Trends data.
  • Interactive Dashboards: Create dynamic and interactive visualizations in Power BI.
  • Customizable Queries: Modify the SerpApi queries to suit your analysis needs.
  • Detailed Insights: Gain valuable insights into trending topics and their dynamics over time.

Getting Started

Prerequisites

Before you begin, ensure you have the following installed:

Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/Google_Trends_Analysis.git
    cd Google_Trends_Analysis
  2. Install required Python packages:

    pip install requests pandas
  3. Set up your SerpApi key:

    • Open the config.py file and add your SerpApi API key:
      SERPAPI_API_KEY = 'your_serpapi_api_key'

Data Collection

To collect Google Trends data, run the fetch_data.py script. This script uses SerpApi to fetch the latest Google Trends data and saves it to a CSV file.

python fetch_data.py

The fetched data will be saved in the data directory as google_trends_data.csv.

Data Analysis

  1. Open Power BI Desktop.
  2. Load the google_trends_data.csv file into Power BI:
    • Click on Get Data > Text/CSV and select the CSV file.
  3. Clean and transform the data as needed using Power BI’s Power Query Editor.

Visualization

Create interactive dashboards and reports using Power BI’s visualization tools. Here are some ideas for visualizations:

  • Trend Over Time: Line charts showing the popularity of different search terms over time.
  • Geographical Distribution: Maps highlighting where search terms are most popular.
  • Category Comparison: Bar charts comparing the popularity of search terms across different categories.

Contributing

We welcome contributions to this project! To contribute:

  1. Fork the repository.
  2. Create a new branch (git checkout -b feature/YourFeature).
  3. Commit your changes (git commit -m 'Add some feature').
  4. Push to the branch (git push origin feature/YourFeature).
  5. Open a Pull Request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgements

  • SerpApi for providing the API to fetch Google Trends data.
  • Power BI for the powerful data visualization tools.

Feel free to explore, modify, and enhance this project to suit your needs. If you have any questions or feedback, please open an issue or reach out to us!

Happy analyzing!


Maintainer: Rahul Kumar
Contact: itsrahulkr117@gmail.com

About

Welcome to the Google Trends Analysis project! This project leverages Power BI to visualize and analyze data from Google Trends. The goal is to gain insights into search behaviours, trends, and patterns over time for various keywords and topics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors