Skip to content

Commit

Permalink
Address Gender vs Sex mismatch in report_participants (#438)
Browse files Browse the repository at this point in the history
* Address Gender vs Sex mismatch in report_participants

* Update report_participants.R

* Update report_participants.Rd

---------

Co-authored-by: Indrajeet Patil <patilindrajeet.science@gmail.com>
  • Loading branch information
M-Colley and IndrajeetPatil committed Jun 23, 2024
1 parent eda5e04 commit d26b750
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/report_participants.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#' you can specify other characters here as well (e.g., `"Intersex"`), but
#' the function will group all individuals in those groups as `"Other"`.
#' @param gender The name of the column containing the gender of the
#' classes should be one of `c("Man", "M", "Male", Woman", "W", F",
#' classes should be one of `c("Man", "M", "Male", Woman", "W", "F",
#' "Female", Non-Binary", "N")`. Note that you can specify other characters
#' here as well (e.g., `"Gender Fluid"`), but the function will group all
#' individuals in those groups as `"Non-Binary"`.
Expand Down Expand Up @@ -355,7 +355,7 @@ report_participants <- function(data,
}

genders_woman <- c(
"woman", "w", "female", "women", "girl",
"woman", "w", "female", "f", "women", "girl",
"lady", "miss", "madam", "dame", "lass"
)
genders_man <- c(
Expand Down
2 changes: 1 addition & 1 deletion man/report_participants.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit d26b750

Please sign in to comment.