format_pbr_url: Formats url based on the location provided

View source: R/grappos_requests.R

format_pbr_urlR Documentation

Formats url based on the location provided

Description

This function simply readies the url for use in a GET request

Usage

format_pbr_url(location, dist = 100, lim = 50, brand_id = 333)

Arguments

location

Zip code or (portion of) city name

dist

Numeric. The distance in miles to search from the location

lim

Numeric. The number of results to be returned

brand_id

Numeric. The brand ID to be returned

Value

A url to be passed to pbr_query


pbr documentation built on Aug. 25, 2023, 5:14 p.m.