get_city_coord: Get the location information of the city

Description Usage Arguments Details Value Author(s) Examples

View source: R/get_city_coord.R

Description

get_city_coord use Baidu API <http://developer.baidu.com/map/> to get the longtitude and latitude of the city

Usage

1

Arguments

city

a character object of the name of Chinese city,

Details

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.

Value

a vecctor of longtitude and latitude

Author(s)

Chiffon <http://lchiffon.github.io>

Examples

1
get_city_coord("Shanghai")

Lchiffon/REmap documentation built on Dec. 14, 2019, 11:43 p.m.