searchbbox {prettymapr} | R Documentation |
Query The Interwebs For A Bounding Box
Description
Use the PickPoint.io API or Google API to
retreive a bounding box for the given query. Note that if
you would like to use google
as a source, you must agree to the Google
API terms and conditions.
Usage
searchbbox(querystring, ...)
Arguments
querystring |
The search query. Passing a vector in will find the bounding box that contains all bounding boxes returned. |
... |
Additional paramters to be passed on to geocode. Passing |
Value
A 2x2 matrix describing a bounding box like that returned by sp::bbox()
Examples
#don't test to speed up checking time
searchbbox("kings county, NS")
searchbbox("University Ave. Wolfville NS", source="google")
searchbbox("Wolfville ns", source="google")
searchbbox(c("Vermont", "Nova Scotia"))
[Package prettymapr version 0.2.5 Index]