diff --git a/docs/examples/UserGuide/mutate_transmute.jl b/docs/examples/UserGuide/mutate_transmute.jl index 128a2730..a2351fb4 100644 --- a/docs/examples/UserGuide/mutate_transmute.jl +++ b/docs/examples/UserGuide/mutate_transmute.jl @@ -1,4 +1,4 @@ -# The primary purpose of `@mutate()` is to either create a new column or to update an existing column *without* changing the number of rows in the dataset. If you only plan to select the mutated columns, then you can use `@transmute()` instead of `@mutate(). However, in `TidierData.jl`, `@select()` can also be used to create and select new columns (unlike R's `tidyverse`), which means that `@transmute()` is a redundant function in that it has the same functionality as `@select()`. `@transmute` is included in `TidierData.jl` for convenience but is not strictly required. +# The primary purpose of `@mutate()` is to either create a new column or to update an existing column *without* changing the number of rows in the dataset. If you only plan to select the mutated columns, then you can use `@transmute()` instead of `@mutate()`. However, in `TidierData.jl`, `@select()` can also be used to create and select new columns (unlike R's `tidyverse`), which means that `@transmute()` is a redundant function in that it has the same functionality as `@select()`. `@transmute` is included in `TidierData.jl` for convenience but is not strictly required. using TidierData using RDatasets @@ -58,4 +58,4 @@ end @filter(!ismissing(Budget)) @transmute(Title = Title, Budget = Budget/1_000_000) @slice(1:5) -end \ No newline at end of file +end