Clear Filters
Clear Filters

Api to download csv data

1 view (last 30 days)
J S
J S on 28 Sep 2017
Commented: Josef Streicher on 19 Oct 2018
I am trying to to download csv datasets from google trends but coulnd find a good solution yet.
There are some different approaches here in the forum and on stackoverflow but these werent much help.
addpath('mFiles');
myStr='Carnaval';
myGeo='DE'; % you can find other geo at google trends website
chromePath= '...' ;
dlFolder= '...'; % this should work for windows
% call function to download from gtrends
[DataOut]=GetGtrendsData(myStr,myGeo,chromePath,dlFolder);
% make a nice plot
plot(datenum(DataOut.startDate,'yyyy-mm-dd'),DataOut.gtrendsOut);
datetick('x','yyyy-mm');
title(['Gtrends Result for ' myStr ' at ' myGeo]);
rmpath('mFiles');
Has anybody has a good solution to share?
Thanks
  1 Comment
Josef Streicher
Josef Streicher on 19 Oct 2018
Did you find a solution? I want one as well and worked with the code of Marcelo Perlin. However, it is not working. How did you do it in the end? Thx

Sign in to comment.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!