pbr_me | R Documentation |
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.
pbr_me(location, map = TRUE, ...)
pbr_me_asap()
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 |
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
A leaflet map displaying closest retailer locations, or (optionally) a data.frame of retailer locations
## Not run:
pbr_me(54481)
pbr_me_asap() # for when you just don't have time to enter your zip code
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.