View source: R/valid_usps_address.R
valid_usps_address | R Documentation |
Validate address with U.S. Postal Service (USPS) Web Tools
valid_usps_address( address_1 = "", address_2 = "1100 Wilson Blvd", city = "Arlington", state = "VA", zip5 = "", zip4 = "", full_info = TRUE, usps_userid = Sys.getenv("USPS_WEBAPI_USERNAME") )
address_1 |
Optional. Secondary Delivery Address. May contain secondary unit designator, such as APT or SUITE. |
address_2 |
Optional. Primary Delivery Address. |
city |
Optional. City name of the destination address. Maximum characters allowed: 15. |
state |
Optional. Two-character state code of the destination address. Maximum characters allowed: 2. |
zip5 |
Optional. Destination 5-digit ZIP Code.StringMust be 5-digits. Numeric values (0-9) only. |
zip4 |
Optional. Destination 4-digit +ZIP Code. Numeric values (0-9) only. |
full_info |
Required. Logical value used to flag return of all response fields. |
list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.