An automated method for the determination of iodine in geochemical samples