powered by
Products for a specific retailer
retailer_products( retailer_id, product = NA, brand = NA, regex = TRUE, ignore_case = TRUE, head = FALSE, ... )
A retailer ID.
Filter by product name (treated as a regular expression).
Filter by product brand (treated as a regular expression).
Should filter be treated as a Regular Expression?
Should case be ignore?
Return the data (FALSE) or the number of records (TRUE)?
FALSE
TRUE
Arguments passed through to paginate().
paginate()
Product details as a data.frame if head is FALSE, otherwise the number of products that would be returned.
data.frame
head
# NOT RUN { # Get products for a specific retailer. # } # NOT RUN { retailer_products(1) retailer_products(9, product = "Nescafe") retailer_products(9, product = "Nescafe", head = TRUE) # }
Run the code above in your browser using DataLab