Skip to content

Commit

Permalink
Edits to "Complete Traits" datasets (#794)
Browse files Browse the repository at this point in the history
Edits to Wenk_2023 and Wenk_2022 datasets:

*  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.

*  Adding sources into Wenk_2022, Wenk_2023 as measurement_remarks. The sources for all the manually looked up references for these datasets was in the data.csv files, but had not been mapped into AusTraits. Requested by reviewers of the Complete Traits paper.
  • Loading branch information
ehwenk authored May 13, 2024
1 parent 51964db commit e43c1c7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 3 additions & 1 deletion data/Wenk_2022/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,13 @@ dataset:
woodiness_to_use = stringr::str_replace(
woodiness_to_use, "soft_woody", "semi_woody"),
woodiness_to_use = stringr::str_replace(
woodiness_to_use, "woody_stemmed_monocot", "woody_like_stem")
woodiness_to_use, "woody_stemmed_monocot", "woody_like_stem"),
measurement_remarks = paste0(reference_category, ": ", references)
)
'
collection_date: unknown/2022
taxon_name: taxon_name
measurement_remarks: measurement_remarks
description: A curated collection of plant growth form values that includes nearly
all species in the Australian Plant Census (APC). Dataset is compiled from a combination
of data extracted from state and national online floras, supplemented by the taxonomic
Expand Down
10 changes: 9 additions & 1 deletion data/Wenk_2023/metadata.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,17 @@ contributors:
dataset_curators: Elizabeth Wenk
dataset:
data_is_long_format: no
custom_R_code: .na
custom_R_code: '
data %>%
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
measurement_remarks: measurement_remarks
description: A curated collection of life history values that includes nearly all
species in the Australian Plant Census (APC).
basis_of_record: literature field
Expand Down

0 comments on commit e43c1c7

Please sign in to comment.