informatica.infacore.functions.dq_functions.DataQualityFunctions.validate_us_county
- DataQualityFunctions.validate_us_county(src_data_object: DataObject, county_col_name: str)
Checks if the input column data is a valid county name in any state in the Unites States.
- Parameters:
src_data_object (DataObject) – The object name for the source DataObject class.
county_col_name (str) – Column name corresponding to the USA county name.
- Returns:
Validation values “Valid” or “Invalid” for the United States county name in columnar representation.
- Return type:
table
Example
>>> import informatica.infacore as ic >>> dq_obj = ic.DataQualityFunctions() >>> dq_obj.validate_us_county(src_data_obj, county_col_name)