Skip to content

Commit d26b750

Browse files
Address Gender vs Sex mismatch in report_participants (#438)
* 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>
1 parent eda5e04 commit d26b750

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

R/report_participants.R

+2-2
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#' you can specify other characters here as well (e.g., `"Intersex"`), but
1111
#' the function will group all individuals in those groups as `"Other"`.
1212
#' @param gender The name of the column containing the gender of the
13-
#' classes should be one of `c("Man", "M", "Male", Woman", "W", F",
13+
#' classes should be one of `c("Man", "M", "Male", Woman", "W", "F",
1414
#' "Female", Non-Binary", "N")`. Note that you can specify other characters
1515
#' here as well (e.g., `"Gender Fluid"`), but the function will group all
1616
#' individuals in those groups as `"Non-Binary"`.
@@ -355,7 +355,7 @@ report_participants <- function(data,
355355
}
356356

357357
genders_woman <- c(
358-
"woman", "w", "female", "women", "girl",
358+
"woman", "w", "female", "f", "women", "girl",
359359
"lady", "miss", "madam", "dame", "lass"
360360
)
361361
genders_man <- c(

man/report_participants.Rd

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)