Skip to content

Issue with generated values #5

@reikookamoto

Description

@reikookamoto

Reposting this issue here as per @DougManuel's suggestion.

Issue pertains to code currently sitting in the package-repatriation branch.

When we use the prop_NA argument in create_con_var() (as shown below) and one of the recStart to recEnd relationship for the variable in question is else --> NA::b (also shown below), the new column in the output data frame contains "else".

Should NA::b appear in the output instead of "else"?

mock_drinks_norm <- create_con_var(
    var_raw = "alcdwky",
    cycle = "cycle1",   
    variable_details = variable_details,
    length = 1000,
    df_mock = data.frame(),
    prop_NA = 0.1,
    distribution = "normal"
  )
Image

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