Purespectrum uses FIPS State Numeric Code for representing states. For example, if you want to create a survey which will allow only respondents from Alabama, California and Florida in (codes 01, 06, and 12 respectively), the qualification will look like:
{"qualification_code": 225, "conditions": ["1", "6", "12"]}
The Mapping Table:
Name | FIPS State Numeric Code | Official USPS Code |
---|---|---|
Alabama | 1 | AL |
Alaska | 2 | AK |
Arizona | 4 | AZ |
Arkansas | 5 | AR |
California | 6 | CA |
Colorado | 8 | CO |
Connecticut | 9 | CT |
Delaware | 10 | DE |
District of Columbia | 11 | DC |
Florida | 12 | FL |
Georgia | 13 | GA |
Hawaii | 15 | HI |
Idaho | 16 | ID |
Illinois | 17 | IL |
Indiana | 18 | IN |
Iowa | 19 | IA |
Kansas | 20 | KS |
Kentucky | 21 | KY |
Louisiana | 22 | LA |
Maine | 23 | ME |
Maryland | 24 | MD |
Massachusetts | 25 | MA |
Michigan | 26 | MI |
Minnesota | 27 | MN |
Mississippi | 28 | MS |
Missouri | 29 | MO |
Montana | 30 | MT |
Nebraska | 31 | NE |
Nevada | 32 | NV |
New Hampshire | 33 | NH |
New Jersey | 34 | NJ |
New Mexico | 35 | NM |
New York | 36 | NY |
North Carolina | 37 | NC |
North Dakota | 38 | ND |
Ohio | 39 | OH |
Oklahoma | 40 | OK |
Oregon | 41 | OR |
Pennsylvania | 42 | PA |
Rhode Island | 44 | RI |
South Carolina | 45 | SC |
South Dakota | 46 | SD |
Tennessee | 47 | TN |
Texas | 48 | TX |
Utah | 49 | UT |
Vermont | 50 | VT |
Virginia | 51 | VA |
Washington | 53 | WA |
West Virginia | 54 | WV |
Wisconsin | 55 | WI |
Wyoming | 56 | WY |