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

Rename variables before processing #41

Closed
jzhu20 opened this issue Aug 1, 2024 · 0 comments · Fixed by #76
Closed

Rename variables before processing #41

jzhu20 opened this issue Aug 1, 2024 · 0 comments · Fixed by #76
Assignees

Comments

@jzhu20
Copy link
Contributor

jzhu20 commented Aug 1, 2024

In results from current Health-GPS main branch, a prefix "mean_" is added to indicate mean values of variables, which is inconsistent with the variable names in R scripts. Therefore, we need to remove "mean_" before processing data.
Add the following commands to https://github.com/imperialCHEPI/healthgpsrvis/blob/main/R/data-process.R Line 1.

## Renaming variables if necessary, to remove prefix ##
names(data) <- sub("^mean_", "", names(data))
@SaranjeetKaur SaranjeetKaur self-assigned this Aug 19, 2024
@SaranjeetKaur SaranjeetKaur linked a pull request Oct 26, 2024 that will close this issue
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Health-GPS Oct 28, 2024
@SaranjeetKaur SaranjeetKaur moved this from 📋 Backlog to 🏗 In progress in Health-GPS Oct 28, 2024
@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Health-GPS Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants