Skip to content

Commit

Permalink
Update README.Rmd
Browse files Browse the repository at this point in the history
  • Loading branch information
YaoxiangLi committed Feb 23, 2024
1 parent 37dc647 commit 98a03ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ Basic usage is demonstrated below.
```{r}
library(gendercoder)
tibble(gender = c("male", "MALE", "mle", "I am male", "femail", "female", "enby")) %>%
mutate(manylevels_gender = recode_gender(gender, dictionary = manylevels_en, retain_unmatched = TRUE),
tibble::tibble(gender = c("male", "MALE", "mle", "I am male", "femail", "female", "enby")) |>
dplyr::mutate(manylevels_gender = recode_gender(gender, dictionary = manylevels_en, retain_unmatched = TRUE),
fewlevels_gender = recode_gender(gender, dictionary = fewlevels_en, retain_unmatched = FALSE)
)
Expand Down

0 comments on commit 98a03ea

Please sign in to comment.