Description Usage Arguments Value Examples
View source: R/get-stock-data.R
从BI数仓中获取库存数据 按照年、月、SHOP_NO,SKU_NO汇总
1 2 3 4 5 6 7 8 9 10 11 |
con |
BI con connector |
... |
需要添加汇总字段,默认年,月,SHOP_NO,SKU_NO |
brand_name |
事业部名称 |
channel_type |
门店渠道 |
area_name |
管辖区域 |
boss_name |
加盟商客户 |
shop_no |
the shop of Number |
stock_date |
库存日期 默认昨天 |
category_name |
分析大类 |
a data frame 包含门店库存和总仓库存 可由仓位类型区分
1 | dt <- get_stock_data(con = con,brand_name = 'mujosh',stock_date = lubridate::today()-days(1),goods_categories = c('frame','sunglasses'),鍒嗘瀽澶х被,浠撲綅绫诲瀷)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.