Description Usage Arguments Value Examples
get traffic status from amap,there are c(description,expedite,congested,blocked,unkown)
1 | getTrafficStatusPlus(location = NULL, key = amap_key, grid = 5000)
|
location |
character:location should be writtend like |
key |
amap key |
citycode |
code of city.for examples fuzhou is 0591 |
gird |
sides of rectangle,default 5000m |
A vector contains description,expedite,congested,blocked,unkown
1 2 3 4 5 | ## Not run:
location='119.229335,26.122166;119.59875,25.87036'
df=getTrafficStatusPlus(location = location)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.