Description Usage Arguments Details Value Examples
View source: R/store_locator.R
store_locator
helps locate nearest Walmart Stores by letting
you users search for stores by latitude and longitude, by zip code and by
city.
1 2 |
key |
Your API access key. |
lat |
latitude. |
lon |
longitude. |
city |
city. |
zip |
zip code. |
list_output |
Indicator for list output. |
An API key will be required to run this function and can be acquired by creating an account on the following website https://developer.walmartlabs.com/member.
For more information refer to the original documentation https://developer.walmartlabs.com/docs/read/Store_Locator_API.
A tibble with 12 columns in base response format.
1 2 3 4 5 6 7 8 9 10 11 12 | ## Not run:
key <- "************************"
store_locator(key = key, lat = 29, lon = -95)
store_locator(key = key, city = "Houston")
store_locator(key = key, zip = 77063)
store_locator(key = key, zip = 77063, list_output = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.