powered by
This function retrieves shops based on search terms.
search_shops(query = NULL, shop_type_id = NULL, lat = NULL, lng = NULL, radius = NULL, units = NULL, page = NULL, page_size = NULL, sort = NULL)
search string
set to 1 to restrict to local stores only (filter out chains and online stores)
latitude for geographic search
longitude for geographic search
radius for geographic search
units for geographic search, `miles` or `km`
result page to retrieve; defaults to 1
number of results to retrieve; defaults to 100
options: `best`, `added`, `favorites`
tibble with address, social media, and other descriptive features for shops
# NOT RUN { search_shops(lat = 42.35, lng = -71.05, radius = 100) # } # NOT RUN { # }
Run the code above in your browser using DataLab