diff --git a/data/Wenk_2022/metadata.yml b/data/Wenk_2022/metadata.yml index 4f7cf3551..da3d9c09f 100644 --- a/data/Wenk_2022/metadata.yml +++ b/data/Wenk_2022/metadata.yml @@ -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 diff --git a/data/Wenk_2023/metadata.yml b/data/Wenk_2023/metadata.yml index 4c5b63f5f..27024f73d 100644 --- a/data/Wenk_2023/metadata.yml +++ b/data/Wenk_2023/metadata.yml @@ -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