Skip to content

Commit

Permalink
remove brackets in Wenk_2023 trait scorings
Browse files Browse the repository at this point in the history
Approximately 100 taxa were being mistakenly excluded because one of the trait values had brackets around the trait value to designate it as "less common". As a result the entire trait value was being excluded.
  • Loading branch information
ehwenk committed Apr 24, 2024
1 parent 05d635f commit 3d276d8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion data/Wenk_2023/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,11 @@ dataset:
data_is_long_format: no
custom_R_code: '
data %>%
mutate(measurement_remarks = paste0(source, ": ", citation))
mutate(
measurement_remarks = paste0(source, ": ", citation),
life_history_scored = stringr::str_replace_all(life_history_scored, "\\(", "") ,
life_history_scored = stringr::str_replace_all(life_history_scored, "\\)", "")
)
'
collection_date: unknown/2022
taxon_name: taxon_name
Expand Down

0 comments on commit 3d276d8

Please sign in to comment.