• whatGoogleSuggestsFor() : Using #Google_Instant to map #Stereotypes or #Sentiment (in #R)
    http://datagistips.blogspot.ch/2014/06/whatgooglesuggestsfor-using-google-to.html

    Some interesting things emerge when using Google Instant service from different countries.

    The whatGoogleSuggestsFor() function will take a string as an input and return a list of suggestions by Google based upon Google Instant Service. Good to map stereotypes or analyze sentiment of a brand. The code is at the end.

    For instance, we could get stereotypes attributed to France, seen from the US

    > whatGoogleSuggestsFor("why france", domain="us")
    " is great"             " joined ww1"       " banned the burqa"
    " gave statue of liberty" " is better than germany"      " colonized algeria"
    " sold louisiana"        " banned fracking"             "sa left yes"

    Or, a global advice on Nike Company

    > whatGoogleSuggestsFor("why nike is", domain="us")
    " bad"    " better than adidas"              " the best"
    " successful"     " a good investment" " the best sports brand"
    " popular"                " better"        " the best brand"
    " so popular"