R2GoogleMaps Examples

These are some very simple examples of early work on creating documents within R that display data on Google Maps. We use the cabspotting.org data for GPS locations of taxis in San Francisco.

These examples are explained in sfcabs.html or PDF

  • Simple map and path
  • Simple markers on the map
  • Markers with color and HTML content
  • Markers from run-time data
  • Multiple paths with different colors
  • Togglable paths via HTML forms
    And cab5.html

  • Duncan Temple Lang <duncan@wald.ucdavis.edu>
    Last modified: Tue Jul 28 05:53:38 PDT 2009