From 05d635f303f3feb2ab518b7b6c0f0203cbc165a8 Mon Sep 17 00:00:00 2001 From: ehwenk Date: Wed, 24 Apr 2024 16:24:17 +1000 Subject: [PATCH] Adding sources Adding sources into Wenk_2022, Wenk_2023 as measurement_remarks --- data/Wenk_2022/metadata.yml | 4 +++- data/Wenk_2023/metadata.yml | 6 +++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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..ead854b3f 100644 --- a/data/Wenk_2023/metadata.yml +++ b/data/Wenk_2023/metadata.yml @@ -21,9 +21,13 @@ 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)) + ' 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