Skip to content

Separate str_to_camel(first_upper=T) into its own helper #598

@orgadish

Description

@orgadish

I love the addition of new str_to_camel. In my group, however, we always use first_upper=T, which means that every time I want to use it when reading files I have to write |> rename_with(~str_to_camel(.x, first_upper=T)) instead of what would be |> rename_with(str_to_upper_camel). I know it seems like a minor difference but when using this on every read it becomes cumbersome.

Alternatively, you could allow setting the default lower/upper for camel in an option, but I'm not sure that's worth the added complexity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions