You may also want to flag the case where frequency and time_period are specified and they are incompatible values.