Skip to content

rethink standardize_names argument implementation #221

Open
@IndrajeetPatil

Description

@IndrajeetPatil

Currently, setting it to TRUE makes no difference because the names are already standardized.

library(correlation)

waldo::compare(
  correlation(cars, standardize_names = FALSE),
  correlation(cars, standardize_names = TRUE)
)
#> v No differences

Created on 2021-11-25 by the reprex package (v2.0.1)

I think the way this should work is with the default argument being standardize_names = "easystats", which would be backward-compatible. And, if someone wishes, they can change it to standardize_names = "broom".

This lets users have a better control over the column naming style.

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