powered by
get_city_coord use Baidu API <http://developer.baidu.com/map/> to get the longtitude and latitude of the city
get_city_coord(city)
a character object of the name of Chinese city,
a vecctor of longtitude and latitude
This function can transform the name of Chinese city Which can be a Chinese string or an English name,like Shanghai. This function is used BaiduAPI to get the geo information.
# NOT RUN { get_city_coord("Shanghai") # }
Run the code above in your browser using DataLab