使用 R,可以从 Google 地图 API 查询指定位置的最新图像,例如
library(ggmap)
mal <- get_map('Malabo', zoom = 12, maptype = 'satellite')
ggmap(mal)
Run Code Online (Sandbox Code Playgroud)
API 是否允许/支持从用户指定日期查询历史图像?。如果是:
-这怎么能在 R 中完成?
- 如果在 R 中无法完成,是否还有其他方法/工具可以做到?
非常感谢。
###Load libraries
library(ggplot2)
library(gtable)
###Build plot
d <- ggplot(mtcars, aes(x=gear)) +
geom_bar(aes(y=gear), stat="identity", position="dodge") +
facet_wrap(~cyl)
###Change height of strip text
g <- ggplotGrob(d)
g$heights[[3]] = unit(2,"in")
grid.newpage()
grid.draw(g)
Run Code Online (Sandbox Code Playgroud)
ggplot2_2.0.0)ggplot2_1.0.1)中土世界到底发生了什么?