DesiQuintans / tsv2label

tsv2label: Label, describe, rename, and recode datasets using a data dictionary
Other
2 stars 0 forks source link

Ignore factor_file cells that only have whitespace #11

Closed DesiQuintans closed 1 year ago

DesiQuintans commented 1 year ago

I was just making a very large data dictionary in Excel and got this error when trying to use it:

(01/24)  Using ' ' for EPISODE_DAY_STAY_LOS_RECODE.
Error in get_file(path, flist[factor_file]) : object 'fpath' not found

It was because the factor_file column had a space in it. Spaces should be removed or ignored.