validateAddress: Validate a parsed address according to USPS standards

View source: R/validate_address.R

validateAddressR Documentation

Validate a parsed address according to USPS standards

Description

Validate a parsed address according to USPS standards

Usage

validateAddress(userid, address)

Arguments

userid

The userid given to you by USPS, see the Details for more

address

A data.frame or data.table with the columns: 'Address1', 'Address2', 'City', 'State', 'Zip5' and 'Zip4'. You must supply either the 'City' and 'State' or the 'Zip5' (with or without 'Zip4') for each address.

Details

If you do not have a 'userid' you should register at https://www.usps.com/business/web-tools-apis before trying to use this function.

See Also

prepareAddress


McClellandLegge/addressr documentation built on June 8, 2022, 10:48 p.m.