Convert ACS' cd labels to the form "AK-01".

std_acs_cdformat(vec)

Arguments

vec

a vector of strings from the ACS congressional district naming

Examples

std_acs_cdformat("Congressional District 32 (115th Congress), California")
#> [1] "CA-32"