You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library(REmap)
options(remap.ak="-----my-key------")
get_city_coord('深圳')
[1] NA NA
get_geo_position()可以支持汉字,但不能正常支持拼音
city_vec = c("北京","深圳","广州")
get_geo_position(city_vec)
lon lat city
12 116.413554 39.911013 北京
25 114.066112 22.548515 深圳
21 113.270793 23.135308 广州
get_geo_position('shenzhen')
[1] lon lat city
<0 行> (或0-长度的row.names)
Warning message:
In get_geo_position("shenzhen") : shenzhen not found.
remap()也不能正常找到城市坐标
set.seed(125)
origin = rep("北京",10)
destination = c('上海','广州','大连','南宁','南昌', '拉萨','长春','包头','重庆','常州')
dat = data.frame(origin,destination)
out = remap(dat,title = "REmap实例数据",subtitle = "theme:Dark")
Warning message:
In get_geo_position(city_vec) :
北京 not found.上海 not found.广州 not found.大连 not found.南宁 not found.南昌 not found.拉萨 not found.长春 not found.包头 not found.重庆 not found.常州 not found.
The text was updated successfully, but these errors were encountered:
(系统是win10,Rstudio中默认文字编码已经设置成了UTF-8,不知道是哪里的问题,求教求教)
The text was updated successfully, but these errors were encountered: