gtrends | A Google Trends Analytics Package | Machine Learning library

 by   ReagentX Python Version: Current License: GPL-3.0

kandi X-RAY | gtrends Summary

kandi X-RAY | gtrends Summary

gtrends is a Python library typically used in Artificial Intelligence, Machine Learning applications. gtrends has no bugs, it has no vulnerabilities, it has build file available, it has a Strong Copyleft License and it has low support. You can download it from GitHub, GitLab.

Inspired by this reddit post, I wanted to build a simple platform to pull data from Google Trends. The author made the interesting choice not to normalize the data (i.e., that the value of popularity does not represent the same amount of search volume across each category). While this means that it does not compare the actual popularity of the social networks, it does elucidate where the networks' popularity happens to spike in the context of other networks' popularity. I built in an option that allows you to specify whether to normalize or not. The get() function is multiprocessed, thus multiple keywords will be handled concurrently to speed up data collection routines. The number of processes depends on the number of keywords passed, however, Google may rate limit overly ambitious requests. The script checks if the requested data already exists in the output folder before making new queries.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              gtrends has a low active ecosystem.
              It has 6 star(s) with 2 fork(s). There are 2 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 0 open issues and 4 have been closed. On average issues are closed in 1 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of gtrends is current.

            kandi-Quality Quality

              gtrends has 0 bugs and 0 code smells.

            kandi-Security Security

              gtrends has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              gtrends code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              gtrends is licensed under the GPL-3.0 License. This license is Strong Copyleft.
              Strong Copyleft licenses enforce sharing, and you can use them when creating open source projects.

            kandi-Reuse Reuse

              gtrends releases are not available. You will need to build from source code and install.
              Build file is available. You can build the component from source.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed gtrends and discovered the below as its top functions. This is intended to give you an instant insight into gtrends implemented functionality, and help decide if they suit your requirements.
            • Get data from Google Cloud
            • Generate data for the given keywords
            • Return the normalized normalized string
            • Plot a figure of interest over time
            • Save to csv file
            Get all kandi verified functions for this library.

            gtrends Key Features

            No Key Features are available at this moment for gtrends.

            gtrends Examples and Code Snippets

            No Code Snippets are available at this moment for gtrends.

            Community Discussions

            QUESTION

            R Shiny reactive object as a vector (ggplot)
            Asked 2021-May-18 at 18:56

            in my Shiny App I want to have textinput, action button and grapf plotted after clicking action but.

            My problem is how to use in reactive in gtrends function (from gtrendsR package).

            ...

            ANSWER

            Answered 2021-May-18 at 18:56

            The output of the reactive function can be thought of as a function.

            when you use zm, you should call it like zm() and you shouldn't have an issue.

            Source https://stackoverflow.com/questions/67590942

            QUESTION

            ggplot y axis range ordering not from smallest to largest
            Asked 2020-Oct-29 at 20:54

            Not sure why this is happening it appears to be ordering 1 then 10 then 100, then going to 11?

            Here is my code:

            ...

            ANSWER

            Answered 2020-Oct-29 at 20:54

            As mentioned by @starja the proper way to solve your issue is formating hits as factor. Here a way to do that using dplyr:

            Source https://stackoverflow.com/questions/64598856

            QUESTION

            using map function to create a dataframe from google trends data
            Asked 2020-Jun-27 at 14:43

            relatively new to r, I have a list of words I want to run through the gtrendsr function to look at the google search hits, and then create a tibble with dates as index and relevant hits for each word as columns, I'm struggling to do this using the map functions in purr,

            I started off trying to use a for loop but I've been told to try and use map in the tidyverse package instead, this is what I had so far:

            ...

            ANSWER

            Answered 2020-Jun-27 at 14:43

            You can use map to get all the data as a list and use reduce to combine the data.

            Source https://stackoverflow.com/questions/62610266

            QUESTION

            R loop function for selecting an element in multiple objects
            Asked 2020-May-11 at 22:42

            I'm using the Google Trends R package to perform several queries of keywords like so:

            ...

            ANSWER

            Answered 2020-Apr-21 at 04:05

            You can get the data in a list using ls + mget, use lapply to iterate over each list and get "interest_over_time" element of each list.

            Source https://stackoverflow.com/questions/61335264

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install gtrends

            You can download it from GitHub, GitLab.
            You can use gtrends like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/ReagentX/gtrends.git

          • CLI

            gh repo clone ReagentX/gtrends

          • sshUrl

            git@github.com:ReagentX/gtrends.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link