Skip to content

Bug: create_dist() assume metric is in hours #77

@moralec

Description

@moralec

Describe the bug
When you create a custom dist with Create_Dist, the labels show "hours", even if you are

To Reproduce
Steps to reproduce the behavior:

sq_data %>% select("PersonId", "Date", "Meetings_with_manager_1_on_1", "Organization") %>% group_by(PersonId)  %>% mutate(total=sum(Meetings_with_manager_1_on_1), weeks=n())  %>% mutate(Frequency_of_1_on_1_with_manager = (1 - (total/weeks))) %>%  create_dist(metric="Frequency_of_1_on_1_with_manager", hrvar="Organization", cut = c(.1, .25, 5))

wpa export 20210218_151307

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions