# NOT RUN {
library(amapGeocode)
# Before the `getCoord()` is executed,
# the token should be set by `option(amap_key = 'key')`
# or set by key argument in `getCoord()`
# Get geocode as a data.table
getCoord("IFS Chengdu")
# Get geocode as a XML
getCoord("IFS Chengdu", output = "XML")
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab