Skip to contents

Given a vector of state/territory two-letter USPS short names (e.g. MA, TX, PR), return the corresponding FluSight challenge location code (legacy FIPS code for states and territories, US for the US).

Usage

loc_abbr_to_flusight_code(abbrs)

Arguments

abbrs

vector of USPS two letter name abbreviations

Value

vector of the same length recoded as flusight location codes

See also

loc_flusight_code_to_abbr()