R/check_fips.R
converted_fips.Rd
The function verifies if a valid FIPS code was passed and converts it to a unified standard for internal use.
converted_fips(fips)
fips | the state abbreviation or fips code vector |
---|
States Abbreviations or FIPs as FIP character strings
a vector with the State FIPS code
#> [1] 37converted_fips("37")#> [1] "37"converted_fips("NC")#> [1] "37"converted_fips("nc")#> [1] "37"# }