/google_trends

Collection of notebooks written while learning to work with Google Trends API.

Primary LanguageJupyter Notebook

google_trends

Collection of notebooks written while learning to work with Google Trends API. Includes a forecasting project for Covid data.

  • pytrends_intro contains instructions on how to interact with the Google Trends API via the pytrends Python library.
  • cov_gt_forecasting contains instructions on how to correctly use Google Trends queries as external regressors for forecasting Covid-19 related variables like ICUs patients, deathcount and new positive cases.
  • cov_data was used to clean and prepare Covid-19 data in Italy for further analysis.
  • cov_gt_collection was used to collect daily data about Covid-related queries from Google Trends.
  • cov_gt_averaging was used to average across many Google Trends samples to ensure time series consistency.