Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive...
Transcript of Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive...
![Page 1: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/1.jpg)
Interactive Mapping in R
Luba Gloukhov
![Page 2: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/2.jpg)
>
![Page 3: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/3.jpg)
> library(plotGoogleMaps) > library(RColorBrewer) >
![Page 4: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/4.jpg)
> library(plotGoogleMaps) > library(RColorBrewer) > vignette('plotGoogleMaps-intro') >
![Page 5: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/5.jpg)
> library(plotGoogleMaps) > library(RColorBrewer) > vignette('plotGoogleMaps-intro') >
![Page 6: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/6.jpg)
> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000 10 > names(data) [1] "artist.name" [2] "artist.latitude" [3] "artist.longitude" [4] "artist.location" [5] "artist.hotttnesss" [6] "artist.familiarity" [7] "title" [8] "release" [9] "year" [10] "song.hotttnesss" >
![Page 7: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/7.jpg)
> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000 10 > names(data) [1] "artist.name" [2] "artist.latitude" [3] "artist.longitude" [4] "artist.location" [5] "artist.hotttnesss" [6] "artist.familiarity" [7] "title" [8] "release" [9] "year" [10] "song.hotttnesss" >
![Page 8: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/8.jpg)
> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000 10 > names(data) [1] "artist.name" [2] "artist.latitude" [3] "artist.longitude" [4] "artist.location" [5] "artist.hotttnesss" [6] "artist.familiarity" [7] "title" [8] "release" [9] "year" [10] "song.hotttnesss" >
![Page 9: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/9.jpg)
> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000 10 > names(data) [1] "artist.name" [2] "artist.latitude" [3] "artist.longitude" [4] "artist.location" [5] "artist.hotttnesss" [6] "artist.familiarity" [7] "title" [8] "release" [9] "year" [10] "song.hotttnesss" > > data <- + data[complete.cases( + data$artist.longitude, + data$artist.latitude),] >
![Page 10: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/10.jpg)
![Page 11: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/11.jpg)
![Page 12: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/12.jpg)
>
![Page 13: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/13.jpg)
> data <- subset(data, + artist.familiarity>0) > data$sa.hf <- + data$song.hotttnesss/ + data$artist.familiarity >
![Page 14: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/14.jpg)
> data <- subset(data, + artist.familiarity>0) > data$sa.hf <- + data$song.hotttnesss/ + data$artist.familiarity > data <- subset(data, data$sa.hf>1) > dim(data) [1] 175 11 >
![Page 15: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/15.jpg)
>
![Page 16: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/16.jpg)
> coordinates(data) <- ~artist.longitude + artist.latitude >
![Page 17: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/17.jpg)
> coordinates(data) <- ~artist.longitude + artist.latitude >
Convert data into a Spatial Points Data Frame.
![Page 18: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/18.jpg)
> coordinates(data) <- ~artist.longitude + artist.latitude > > proj4string(data) <- + CRS("+init=epsg:4326") >
![Page 19: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/19.jpg)
> coordinates(data) <- ~artist.longitude + artist.latitude > > proj4string(data) <- + CRS("+init=epsg:4326") >
Ensure that the coordinates will be interpreted as longitudes and latitudes.
![Page 20: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/20.jpg)
> > max = ceiling(max (data$sa.hf))
![Page 21: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/21.jpg)
> > max = ceiling(max (data$sa.hf)) > m <- bubbleGoogleMaps(data, +
![Page 22: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/22.jpg)
> > max = ceiling(max (data$sa.hf)) > m <- bubbleGoogleMaps(data, +
Create a bubble plot of spatial data on Google Maps.
![Page 23: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/23.jpg)
> > max = ceiling(max (data$sa.hf)) > m <- bubbleGoogleMaps(data, + zcol='sa.hf', filename = 'map.html', +
![Page 24: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/24.jpg)
> > max = ceiling(max (data$sa.hf)) > m <- bubbleGoogleMaps(data, + zcol='sa.hf', filename = 'map.html', + The name of the output file to be saved in
working directory
Bubble variable column name.
![Page 25: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/25.jpg)
> > max = ceiling(max (data$sa.hf)) > m <- bubbleGoogleMaps(data, + zcol='sa.hf', filename = 'map.html', + mapTypeId= 'TERRAIN', fitBounds=T, +
![Page 26: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/26.jpg)
> > max = ceiling(max (data$sa.hf)) > m <- bubbleGoogleMaps(data, + zcol='sa.hf', filename = 'map.html', + mapTypeId= 'TERRAIN', fitBounds=T, + Sets the maps to fit to the boundary box
values of spacial object, in our case – entire world.
• 'HYBRID' • 'ROADMAP' • 'SATELLITE‘ • 'TERRAIN'
![Page 27: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/27.jpg)
> > max = ceiling(max (data$sa.hf)) > m <- bubbleGoogleMaps(data, + zcol='sa.hf', filename = 'map.html', + mapTypeId= 'TERRAIN', fitBounds=T, + max.radius=75000, +
![Page 28: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/28.jpg)
> > max = ceiling(max (data$sa.hf)) > m <- bubbleGoogleMaps(data, + zcol='sa.hf', filename = 'map.html', + mapTypeId= 'TERRAIN', fitBounds=T, + max.radius=75000, +
value for largest circle (the plotting symbols) in meters
![Page 29: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/29.jpg)
> > max = ceiling(max (data$sa.hf)) > m <- bubbleGoogleMaps(data, + zcol='sa.hf', filename = 'map.html', + mapTypeId= 'TERRAIN', fitBounds=T, + max.radius=75000, + key.entries= c( 1.05,1.1,1.25,max), +
![Page 30: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/30.jpg)
> > max = ceiling(max (data$sa.hf)) > m <- bubbleGoogleMaps(data, + zcol='sa.hf', filename = 'map.html', + mapTypeId= 'TERRAIN', fitBounds=T, + max.radius=75000, + key.entries= c( 1.05,1.1,1.25,max), +
Key Values. These are upper endpoints. Do not include lowest value.
![Page 31: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/31.jpg)
> > max = ceiling(max (data$sa.hf)) > m <- bubbleGoogleMaps(data, + zcol='sa.hf', filename = 'map.html', + mapTypeId= 'TERRAIN', fitBounds=T, + max.radius=75000, + key.entries= c( 1.05,1.1,1.25,max), + colPalette=brewer.pal(4,"YlOrRd"), + layerName="Ratio of Song Hotness to + Artist Familiarity") >
![Page 32: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/32.jpg)
> > max = ceiling(max (data$sa.hf)) > m <- bubbleGoogleMaps(data, + zcol='sa.hf', filename = 'map.html', + mapTypeId= 'TERRAIN', fitBounds=T, + max.radius=75000, + key.entries= c( 1.05,1.1,1.25,max), + colPalette=brewer.pal(4,"YlOrRd"), + layerName="Ratio of Song Hotness to + Artist Familiarity") >
Key Header
![Page 33: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/33.jpg)
> > max = ceiling(max (data$sa.hf)) > m <- bubbleGoogleMaps(data, + zcol='sa.hf', filename = 'map.html', + mapTypeId= 'TERRAIN', fitBounds=T, + max.radius=75000, + key.entries= c( 1.05,1.1,1.25,max), + colPalette=brewer.pal(4,"YlOrRd"), + layerName="Ratio of Song Hotness to + Artist Familiarity") > m
![Page 34: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/34.jpg)
> > max = ceiling(max (data$sa.hf)) > m <- bubbleGoogleMaps(data, + zcol='sa.hf', filename = 'map.html', + mapTypeId= 'TERRAIN', fitBounds=T, + max.radius=75000, + key.entries= c( 1.05,1.1,1.25,max), + colPalette=brewer.pal(4,"YlOrRd"), + layerName="Ratio of Song Hotness to + Artist Familiarity") > m
![Page 35: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/35.jpg)
>
![Page 36: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/36.jpg)
> > code <- sprintf('<br><iframe <- + width=\\"200\\" height=\\"150\\" + src=\\"http://www.youtube.com/embed? + autoplay=1&listType=search&list=%s\\" + frameborder=\\"0\\" allowfullscreen> + </iframe>', + paste(data$artist.name, data$title, + sep=" ")) > > data$youtube=as.character(code) >
![Page 37: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/37.jpg)
> > code <- sprintf('<br><iframe <- + width=\\"200\\" height=\\"150\\" + src=\\"http://www.youtube.com/embed? + autoplay=1&listType=search&list=%s\\" + frameborder=\\"0\\" allowfullscreen> + </iframe>', + paste(data$artist.name, data$title, + sep=" ")) > > data$youtube=as.character(code) >
![Page 38: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/38.jpg)
> > code <- sprintf('<br><iframe <- + width=\\"200\\" height=\\"150\\" + src=\\"http://www.youtube.com/embed? + autoplay=1&listType=search&list=%s\\" + frameborder=\\"0\\" allowfullscreen> + </iframe>', + paste(data$artist.name, data$title, + sep=" ")) > > data$youtube=as.character(code) >
![Page 39: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/39.jpg)
> > code <- sprintf('<br><iframe <- + width=\\"200\\" height=\\"150\\" + src=\\"http://www.youtube.com/embed? + autoplay=1&listType=search&list=%s\\" + frameborder=\\"0\\" allowfullscreen> + </iframe>', + paste(data$artist.name, data$title, + sep=" ")) > > data$youtube=as.character(code) >
![Page 40: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/40.jpg)
> > max = ceiling(max (data$sa.hf)) > m <- bubbleGoogleMaps(data, + zcol='sa.hf', filename = 'map2.html', + mapTypeId= 'TERRAIN', fitBounds=T, + max.radius=75000, + key.entries= c( 1.05,1.1,1.25,max), + colPalette=brewer.pal(4,"YlOrRd"), + layerName="Ratio of Song Hotness to + Artist Familiarity") > m
![Page 41: Interactive Mapping in R - Meetupfiles.meetup.com/1225993/Oct 2012 - Luba Gloukhov - Interactive maps with R.pdf> library(plotGoogleMaps) > library(RColorBrewer) > dim(data) [1] 10000](https://reader033.fdocuments.in/reader033/viewer/2022042221/5ec76ed8a019c4231e6bc4a8/html5/thumbnails/41.jpg)
Resources
plotGoogleMaps Vignette http://cran.r-project.org/web/packages/plotGoogleMaps/vignettes/plotGoogleMaps-intro.pdf
R-Based Interfaces to Google Maps http://maths.anu.edu.au/~johnm/r/spatial/googlemaps.pdf http://www.maths.anu.edu.au/~johnm/wkshp/R/RTour-rc33.R
plotGoogleMaps - A Simple Solution for Geological Survey Web Mapping http://e-science.amres.ac.rs/TP36035/wp-content/uploads/2012/06/PLOTGOOGLEMAPS_full.pdf
Million Song Dataset http://labrosa.ee.columbia.edu/millionsong/pages/getting-dataset
Music Machinery Blog - Hottt or Nottt http://musicmachinery.com/2009/12/09/a-rising-star-or/
Google Dev - YouTube Embedded Player Parameters https://developers.google.com/youtube/player_parameters