I have a code to filter inconsistencies in data in R where i entered data manually. Help me in making it dynamic with the mentioned columns where i can input data during run