how can I download data from google trends?

2 views (last 30 days)
Wei
Wei on 17 Apr 2016
Edited: per isakson on 17 Apr 2016
I use mac, when I tried this query in matlab, it doesn't give me the downloaded file :
!"/Applications/Google Chrome.app/Contents/MacOS/Google Chrome" http://www.google.com/trends/trendsReport?q=MSFT&geo=US&content=1&export=1&graph=all_csv
when i past the URL part into google chrome it will download, can anyone tell me how can I make matlab download pls?
  1 Comment
per isakson
per isakson on 17 Apr 2016
Edited: per isakson on 17 Apr 2016
Try
>> data = webread('http://www.google.com/trends/trendsReport?q=MSFT&geo=US&content=1&export=1&graph=all_csv')
but
An error has been detected
This page is currently unavailable. Please try again later.
Please make sure your query is valid and try again.
If you're experiencing long delays, consider reducing your comparison items.
Thanks for your patience.

Sign in to comment.

Answers (0)

Categories

Find more on Downloads in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!