Description Usage Arguments Value Examples
This function retrieves shops based on search terms.
1 2 3 |
query |
search string |
shop_type_id |
set to 1 to restrict to local stores only (filter out chains and online stores) |
lat |
latitude for geographic search |
lng |
longitude for geographic search |
radius |
radius for geographic search |
units |
units for geographic search, 'miles' or 'km' |
page |
result page to retrieve; defaults to 1 |
page_size |
number of results to retrieve; defaults to 100 |
sort |
options: 'best', 'added', 'favorites' |
tibble with address, social media, and other descriptive features for shops
1 | ## Not run: search_shops(lat = 42.35, lng = -71.05, radius = 100)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.