This is a package which use amap API to obtain lon/lat in WGS84 or GCJ02 CRS. to install packages, you can use following code: devtools::install_github('zhihu3456/Geocode')