Variable names are case sensitive so "NAmeE" is not equal to "NameE", I can't tell for sure if that is the only problem since, your code is not actually reproducible and your sample data is not on a copy/paste friendly format, please try to make a proper REPRoducible EXample (reprex).
If you've never heard of a reprex before, you might want to start by reading this FAQ: