Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

relabel columns which has been reshaped (spread) by factor level #39

Open
cicdguy opened this issue Aug 5, 2021 · 1 comment
Open
Labels

Comments

@cicdguy
Copy link
Contributor

cicdguy commented Aug 5, 2021

This code in merge_datasets relabel only columns which are not spread (get_relabel_cols).

  anl_relabel_call <- get_anl_relabel_call(
    columns_source = get_relabel_cols(columns_source, dplyr_call_data), # don't relabel reshaped cols
    datasets = datasets,
    anl_name = anl_name
  )

For example AVAL_OS and AVAL_PFS should not be relabelled by column label but by factor level of variable which spreads data (eg PARAM). Optimally if possible should be in one rtables::relabel call but sepatate call also allowed.

Provenance:

Creator: gogonzo
@gogonzo gogonzo transferred this issue from another repository Apr 8, 2022
@donyunardi
Copy link
Contributor

Hi @gogonzo
Should we add this item to the data merge roadmap insightsengineering/NEST-roadmap#36?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants