Skip to content

Commit

Permalink
expand_types(): fix wrong condition in adding 6230 (hn, not hnk must …
Browse files Browse the repository at this point in the history
…be present)
  • Loading branch information
florisvdh committed Jan 12, 2024
1 parent 2c33821 commit 88f0e19
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions R/datawrangling.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#' \item{for 2330: both subtype codes must be present}
#' \item{for 5130: 5130_hei must be present (note that only the main type code
#' occurs in the targeted data sources)}
#' \item{for 6230: 6230_ha, 6230_hmo and 6230_hnk must be present
#' \item{for 6230: 6230_ha, 6230_hmo and 6230_hn must be present
#' (not the rare 6230_hnk)}
#' \item{for 91E0: 91E0_va, 91E0_vm and 91E0_vn must be present
#' (not the rarer 91E0_sf, 91E0_vc and 91E0_vo)}
Expand Down Expand Up @@ -210,7 +210,7 @@ expand_types_plain <- function(x,
subtypes %>%
filter(.data$main_type == "2330" |
.data$type %in% c(
"6230_ha", "6230_hmo", "6230_hnk",
"6230_ha", "6230_hmo", "6230_hn",
"5130_hei",
"91E0_va", "91E0_vm", "91E0_vn"
)) %>%
Expand Down
2 changes: 1 addition & 1 deletion man/expand_types.Rd

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

0 comments on commit 88f0e19

Please sign in to comment.