get_places | R Documentation |
Search for Google Places in a given area
get_places(
location = NULL,
radius = NULL,
type = NULL,
keyword = NULL,
language = NULL,
rankby = NULL,
key = Sys.getenv("GOOGLE_KEY")
)
text_search(
location,
query,
language = NULL,
key = Sys.getenv("GOOGLE_KEY"),
...
)
location |
A numeric vector of length two with the format of |
radius |
The radius of the search circle in meters. |
type |
A place type to limit the search to. See API docs for valid place types. Only one type may be specified per search. |
key |
Your Google Places API key. |
query |
a text based query |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.