SyntaxFix
Write A Post
Hire A Developer
Questions
I think you can also use match():
match()
largetable$HouseTypeNo <- with(lookup, HouseTypeNo[match(largetable$HouseType, HouseType)])
This still works if I scramble the order of lookup.
lookup