Anything that is marked K046 transition soil from the jars (TCTN, soil pH, soil conductivity, total iron) is actually WETLAND. (i.e. wetland soil was sampled and put into a jar labeled "transition" incorrectly). Metadata stays the same and is accurate
please use the following code and comment in the script:
# switch wetland and transition names due to a...
# ...sampling error: wetland soil was sampled and put into a jar labeled "transition" incorrectly
df %>%
mutate(transect_location = case_when(kit_id == "K046" & transect_location == "transition" ~ "wetland",
kit_id == "K046" & transect_location == "wetland" ~ "transition",
TRUE ~ transect_location))
Anything that is marked K046 transition soil from the jars (TCTN, soil pH, soil conductivity, total iron) is actually WETLAND. (i.e. wetland soil was sampled and put into a jar labeled "transition" incorrectly). Metadata stays the same and is accurate
please use the following code and comment in the script: