So, I have imported a data set as a tibble, using read_csv. When I try to add a variable with mutate, it seems to get added, but the name of the variable is not stored with the name I gave it, instead it is stored as the arithmetic that I did to come up with the new variable with the existing variables. The variable name is one variable / by other variable).
Why is it not giving it the name I gave it? As a result of this, I can't find the variable when I try to select it with select()
The behavior you describe suggests that you are not providing the name for the new column properly. Below is an example of mutate() using the calculation as the column name and an example of providing the column name correctly. If that does not clear up your problem, please post your actual code.
The pipe operator is merely a shortcut that lets you concatenate functions, but you can just add the data source (df) as parameter to the call (mutate).