Skip to content

Commit f375922

Browse files
committed
ensures sex column is a character
1 parent 5ad2e5f commit f375922

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

R/fct_load_provider_data.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ get_age_sex_data <- function(provider, fyear) {
4646
.data$fyear == .env$fyear
4747
) |>
4848
dplyr::mutate(
49+
dplyr::across("sex", as.character),
4950
age_group = factor(
5051
.data[["age_group"]],
5152
levels = .env[["age_fct"]]

0 commit comments

Comments
 (0)