Integrating text with maps

Overlaying maps with text is not a very prominent medium of displaying information. However, in recent times, with the popularity of social networking sites such as Twitter and Facebook, visualizations that integrate text with maps have become somewhat popular. It is possible to extract real-time information using APIs listed in the See also section of this recipe and display them using maps or some other medium. We have discussed the idea of extracting information from the Web using XML in the recipe A basic introduction to API and XML in Chapter, Creating Applications in R.

In this recipe, we will briefly discuss how one can plot text over maps. Readers are encouraged to use the twitteR package to extract information ...

Get R: Recipes for Analysis, Visualization and Machine Learning now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.