I have two columns - "end_use_type", and "tonnes". I'm trying to make a third column, with the values from "tonnes" but only for rows with an "end_use_type" of "Discards". New column would be named "tonnes_discards".
I think I want to use the mutate function, but can not figure out how to actually select for just the values for Discards.
This is what I have so far, which is not much and may not even be right.
select(c(end_use_type, tonnes)) %>%
mutate()