Skip to content

Commit

Permalink
#32 rename metadata for height/length variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Lina2689 committed Jun 4, 2024
1 parent ee202c5 commit ffd1adc
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions inst/templates/ad_advs.R
Original file line number Diff line number Diff line change
Expand Up @@ -127,18 +127,18 @@ who_wt_for_ht_lgth <- who_wt_for_ht_boys %>%
mutate(SEX = "F")) %>%
mutate(
MEASURE = "HEIGHT",
HEIGHTU = "cm"
HEIGHT_LENGTHU = "cm"
) %>%
rename(HEIGHT = Height) %>%
rename(HEIGHT_LENGTH = Height) %>%
bind_rows(who_wt_for_lgth_boys %>%
mutate(SEX = "M") %>%
bind_rows(who_wt_for_lgth_girls %>%
mutate(SEX = "F")) %>%
mutate(
MEASURE = "LENGTH",
HEIGHTU = "cm"
HEIGHT_LENGTHU = "cm"
) %>%
rename(HEIGHT = Length))
rename(HEIGHT_LENGTH = Length))

# Load source datasets ----

Expand Down

0 comments on commit ffd1adc

Please sign in to comment.