R/grain_to_bin.R
grain_to_bin.RdA bin defines the columns in an env workflow that collectively define
the grain around which cleaning processes are aimed. This function is
intended to explicitly link the grain in a scales.yaml with the bins used
in the workflow.
Character. Path to the scales.yaml
Character or numeric. Element within scales_file with
the grain from which to extract bin information
Character. Any extra bin columns that cannot be extracted from the grain
Character. Any regular expressions to exclude from the bin columns