create_unit_dirs: Create unit directories

Description Usage Arguments Details

View source: R/images.R

Description

Create one directory for each product-unit with an image.

Usage

1
create_unit_dirs(inventory_df, dir)

Arguments

inventory_df

Data frame. Contains an inventory of the unique product-units with images.

dir

Character. Directory where unit directories should be created.

Details

If the folder does not exist, create it. If the folder already exists, move to the next folder.


arthur-shaw/nsuoutils documentation built on Dec. 19, 2021, 4:41 a.m.