keep_best_selling_products: Keep only best-selling product modules

Description Usage Arguments

View source: R/keep_best_selling_products.R

Description

Filter product modules to keep only those found on the list of best-selling modules.

Usage

1
2
keep_best_selling_products(all_data, module_name_ad, products_data,
  module_name_pd)

Arguments

all_data

The data to be filtered, keeping only the best-selling products found in products_data. Must contain the module_name_ad column (data.table)

module_name_ad

The name of the column in all_data containing the identifying module names or numbers (character)

products_data

A table of the best-selling products to keep. Must contain the module_name_pd column (data.table)

module_name_pd

The name of the column in products_data containing the identifying module names or numbers (character)


johnnybonney/sales.taxes documentation built on Dec. 18, 2018, 2:37 a.m.