Learn R Programming

censable (version 0.0.5)

match_ansi: Try to Match to State ANSI

Description

Searches for an exact match and offers the best match if no exact match

Usage

match_ansi(state)

Value

ANSI if a match is found or character(0) if no match is found

Arguments

state

character with state FIPS, Abbreviation, Name, or ANSI

Examples

Run this code
match_ansi('NY')
match_ansi('01')

Run the code above in your browser using DataLab