R/utils.R
get_target_data_type.Rd
Converts full target strings to data type for use in data outputs.
get_target_data_type(target)
Character. Full target name (e.g., "wk inc covid hosp").
Character. Target data type ("hosp", "prop_ed", or NA if unrecognized).