Description Usage Arguments Details
Create directories for each strata within each product-unit directory
1 | create_strata_dirs(inventory_df, market_path, strata_vars, dir)
|
inventory_df |
Data frame. Contains an inventory of the unique product-units with images. |
market_path |
Character. File path to the combined market file. |
strata_vars |
Character vector. Names of the variables that together form strata. |
dir |
Character. Directory where unit directories should be created. |
Strata are the user-defined set of variables specified in strata_vars
.
The directory names will be hyphen-separated combinations of the variables that compose a strata (e.g., "{region} - {urban_rural}"
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.