Skip to content

force quoting strings in write_csv (and similars) #1083

Description

@mmuurr

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).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions