Hello! would you be able to share a couple of the non consistent data files so we can take a look?
Also this post might link to useful materials as well Script for data analysis - #2 by Becca
Becca
PS. posted this then saw you were the original poster of the other post