r - Why does geocode keep returning the wrong address but Google Maps works correctly -


i'm in new orleans area. when open google maps in new orleans area , search "council on alcohol & drug", correct location coordinates (longitude = -90.09, latitude = 29.96).

enter image description here

yet, when use geocode method ggmap, keep getting other coordinates not in new orleans. i've tried number of tricks work still haven't found solution.

library(ggmap) geocode(location="council on alcohol & drug") # na na geocode(location="council on alcohol & drug new orleans") # na na geocode(location="council on alcohol & drug&components=administrative_area:louisiana") # -91.96 30.98 geocode(location="council on alcohol & drug&components=administrative_area:new orleans") # na na geocode(location="council on alcohol & drug&region=new orleans") # na na 

geocode seems squirrely me in general. advice on getting behave?

converting "&" "and" corrected problem. (solved typing question , figured it'd still worth posting.)


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -