New step: step_dummy_manual() #1085
Labels
feature
a feature request or enhancement
new steps
tidy-dev-day 🤓
Tidyverse Developer Day rstd.io/tidy-dev-day
There are times where you have a limited number of levels in a factor, and you want to encode them in a specific way. Such as in the example below. Essentially it should perform a
left_join()
under the hood, but with special care taken with new and missing values.Another more realistic example would be if you had compas directions as an factor as we saw in https://www.kaggle.com/competitions/sliced-s01e04-knyna9
where you could do something like this:
weather example:
The text was updated successfully, but these errors were encountered: