r - shiny app gets '400 Bad Request' trying to get data from google api -
as part of shiny app call geocode()
ggmap
r package.
data geocoded , gets result - can see console trying run app locally , log on shinyapps.io dash board.
after end of geocode next message:
.warning in readlines(connect) : cannot open: http status '400 bad request' error in readlines(connect) : cannot open connection
have clue?
so turns out has nothing shiny problam sending data google's geocode.
when read in data used read.table()
. of addresses had apostrophe '
in them, read new line in same cell (i don't know why).
i changed data reading use read.csv()
, worked fine.
Comments
Post a Comment