Closed graemeblair closed 5 years ago
IIRC, you can tell fabricate that your data frame already has an ID using the ID_label argument.
Right now, the default code path when ID_label is not provided uses identical()
to check whether to drop a duplicated ID column. So factors are not identical to characters and it stays .
Times when fabricate unexpectedly creates a variable
fab_ID_1
:we need to rewrite that part of the code, so it's a bit smarter.