# Server response can be slow; this cuts down check time.
# types of input
geocode("houston texas")
geocode("baylor university", source = "google") # see known issues below
geocode("1600 pennsylvania avenue, washington dc", source = "google")
geocode("the white house", source = "google")
geocode(c("baylor university", "salvation army waco"), source = "google")
# types of output
geocode("houston texas", output = "latlona")
geocode("houston texas", output = "more", source = "google")
geocode("Baylor University", output = "more", source = "google")
str(geocode("Baylor University", output = "all", source = "google"))
# see how many requests we have left with google
geocodeQueryCheck()
# known issues :
# (1) source = "dsk" can't reliably geocode colloquial place names
geocode("city hall houston")
geocode("rice university")
Run the code above in your browser using DataLab