Description Usage Arguments Value References Examples
View source: R/store_locator.R
This function helps locate nearest Walmart Stores via API. It lets users search for stores by latitude and longitude, by zip code and by city.
1 2  | 
apikey | 
 Your API access key authorized by Walmart API (Required)  | 
city | 
 City name, capitalized (Optional)  | 
lat | 
 Latitude (Optional)  | 
lon | 
 Longitude (Optional)  | 
zip | 
 Zip (Optional)  | 
Returns an RDS file named "store_locations_output.RDS".
https://developer.walmartlabs.com/docs/read/Store_Locator_API
1 2  | apikey = "YOUR API KEY"
store_locator(apikey, city = "NEW YORK")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.