string to integer for beer data