data processing r codes already used before starting with git