r:googlevis
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
r:googlevis [2017/06/07 14:09] – hkimscil | r:googlevis [2017/06/07 17:23] (current) – [Public Parking Places] hkimscil | ||
---|---|---|---|
Line 271: | Line 271: | ||
</ | </ | ||
+ | ====== Places in Jeju ====== | ||
+ | < | ||
+ | install.packages(" | ||
+ | install.packages(" | ||
+ | |||
+ | Sys.setlocale(" | ||
+ | library(googleVis) | ||
+ | library(ggmap) | ||
+ | |||
+ | ft_placelst <- function(place) { | ||
+ | temp <- geocode(place) | ||
+ | place <- gsub(" | ||
+ | df_lst <- cbind(place, | ||
+ | return(df_lst) | ||
+ | } | ||
+ | |||
+ | df_placelst <- ft_placelst(readLines(" | ||
+ | |||
+ | latlong <- paste(df_placelst$lat,":", | ||
+ | latlong <- gsub(" ","", | ||
+ | |||
+ | df_placelst <- cbind(df_placelst, | ||
+ | df_placelst | ||
+ | placePath <- gvisMap(df_placelst, | ||
+ | | ||
+ | enableScrollWheel=TRUE, | ||
+ | mapType=' | ||
+ | useMapTypeControl=TRUE, | ||
+ | width=800, | ||
+ | plot(placePath) | ||
+ | |||
+ | </ | ||
+ | |||
+ | |||
====== Population by districts ====== | ====== Population by districts ====== |
r/googlevis.1496813976.txt.gz · Last modified: 2017/06/07 14:09 by hkimscil