pbr_me: Retrieve and print interactive map of closest locations
Description
These functions will retrieve and display the locations of the closest
outlets for a cold one. pbr_me requires a location to be input. This is handy for
when you're going somewhere and want to scout out the available outlets that
sell what you're looking for. pbr_me_asap is for when you just need a one now and don't
have time to enter your zip code.
Usage
pbr_me(location, map = TRUE, ...)
pbr_me_asap()
Value
A leaflet map displaying closest retailer locations, or (optionally) a
data.frame of retailer locations
Arguments
location
A zip code, city name, or regular expression of such
map
Logical. Output a leaflet map (TRUE, default) or not (FALSE)
...
Additional arguments passed on to format_pbr_url
Details
pbr_me will display a leaflet map of the
closest retailer locations. If map = FALSE it will return a data.frame
of the locations. pbr_me_asap displays a leaflet map of retailer locations
within your current proximity for those moments when you just need a cold one now