I retrieve the necessary data from Google Trends using the following URL:
http://www.google.com/trends/fetchComponent?q=doctor&cid=TIMESERIES_GRAPH_0&export=3&date=4/2013+3m&hl = EN-US
But Google Trends results do not contain data for yesterday and today (even if they were extrapolated to the past hours). For example, the above URL in 2013-04-28 returned JavaScript code with the following snippet:
...,
{"c":[{"v":new Date(2013,3,26),"f":"Friday, April 26, 2013"},{"v":65.0,"f":"65"}]},
{"c":[{"v":new Date(2013,3,27),"f":"Saturday, April 27, 2013"},{"v":null}]},
{"c":[{"v":new Date(2013,3,28),"f":"Sunday, April 28, 2013"},{"v":null}]},
...
Pay attention to the zero values for April 27, 28.
But, as we know, "Hot Trends" are available with hourly detail. This suggests that Google has enough data to give us a “complete answer” even for querying trends related to a particular query, not just for the “hottest” ones.
Does anyone know how to extract the latest daily data for a specific query from Google Trends daily data? Or maybe workarounds for getting similar trend data from other sources?