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

Address Gender vs Sex mismatch in report_participants #438

Merged
merged 3 commits into from
Jun 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.

Loading