Is there any plan to add a 'forced-quoting' option for strings in write_csv (and variants)?
The use case is this: some identifiers appear as numbers (e.g. integers), but should be treated in code as strings.
When writing these strings out from one program (using write_csv), then reading those strings into another program (using read_csv), they may get read as numerics, despite careful formatting options for their string representation in the first program (e.g. not relying on the standard numeric-as-a-string formatting).
To be clear, this option would simply force quoting strings (instead of the current check write_csv makes to decide whether or not to quote a particular string).
Is there any plan to add a 'forced-quoting' option for strings in
write_csv(and variants)?The use case is this: some identifiers appear as numbers (e.g. integers), but should be treated in code as strings.
When writing these strings out from one program (using
write_csv), then reading those strings into another program (usingread_csv), they may get read as numerics, despite careful formatting options for their string representation in the first program (e.g. not relying on the standard numeric-as-a-string formatting).To be clear, this option would simply force quoting strings (instead of the current check
write_csvmakes to decide whether or not to quote a particular string).