Skip to contents

Converts full target strings to data type for use in data outputs.

Usage

get_target_data_type(target)

Arguments

target

Character. Full target name (e.g., "wk inc covid hosp").

Value

Character. Target data type ("hosp", "prop_ed", or NA if unrecognized).