Valid Address
Generates real address components from a selected country. The country is either selected specifically or read from another column in the same record.
Currently supports addresses in the United States, Brazil, and Mexico.
Brazilian addresses are derived from the Cadastro Nacional de Endereços para Fins Estatísticos (CNEFE), Censo Demográfico 2022, which is published by the Instituto Brasileiro de Geografia e Estatística (IBGE). Municipality and state names are from the IBGE localities service.
United States streets, house number ranges, counties, and street geometry are derived from the U.S. Census Bureau's 2025 TIGER/Line Shapefiles.
All of the address components are real values. This is different from the Address generator, where street values are always generated and do not represent real streets.
Characteristics
Consistency
Yes, can be made self-consistent or consistent with another column.
Linking
Yes, can be linked.
Differential privacy
No
Data-free
No.
Allowed for primary keys
No
Allowed for unique columns
No
Uses format-preserving encryption (FPE)
No
Privacy ranking
3 if not consistent
4 if consistent
Generator ID (for the API)
ValidAddressGenerator
How to configure
Linking columns
From the Link To dropdown list, select the columns to link this column to. When the columns are linked, Structural ensures that all linked columns contain values that belong to the same address. Columns that are not linked do not contain values from the same address.
Note that when you link columns, all of the columns use the same country. If you change the country configuration in one linked column, it is automatically updated in all of the other linked columns.
Identifying the country where the address is located
To identify the country where the address is located, you can either:
Name a specific country
Identify another column in the same table that contains the country. The column must contain either the English name of the country, the ISO alpha-2 or alpha-3 code, or the local name (Brasil, México).
Selecting a specific country
To identify the country where the address is located, one option is to select a specific country.
To select a specific country:
Click Fixed.
From the Country dropdown, select the country.
Reading the country from another column
Another option is to identify another column in the same table that contains the country. The column must contain either the English name of the country, the ISO alpha-2 or alpha-3 code, or the local name (Brasil, México). It cannot be a linked column.
To get the country from another column:
Click From column.
From the Column dropdown, select the column to use.
If the selected column has an assigned generator, then Structural reads the country value after the generator is applied. If the Valid Address generator is consistent, then to ensure that consistency, the country column generator must either always produce the same value (for example, use the Constant generator), or must also be consistent.
If the selected column does not contain a valid name or identifier of a supported country, then Structural applies the fallback generator to all of the linked columns.
Identifying the address component
From the Address Component dropdown list, select the component that the column contains.
If you selected a specific country for the addresses, then the available components are specific to that country, and use the address component terms that are used in that country.
If the country is read from a column, then the available address components are:
Street address - The full street address
Street name - The street name only, without the identifying type. For example, for
Main St., the street name value isMain.Street type - The street type. For example,
St.,Ave,Rd.,AVENIDA,RUA,Calle. When the street does not have a specific type (for example, Broadway), or includes an additional designation (for example, 25th Ave NW), then the street name column contains the entire street name.Building number - The street number for the address.
Secondary address - Any additional address information, such as an apartment or suite number. If a row contains multiple secondary address columns, each column is given a different value. Also, unlike other components:
This is not necessarily a real value for the address.
If the value in the source column is empty, then it remains empty in the destination.
Neighborhood - The neighborhood within the city. The value is empty for addresses in the United States.
City - The city.
County - The county where the address is located. The value is empty for Brazilian addresses.
State - The name of the state where the address is located.
State abbreviation - The abbreviation of the state.
Postal code - The postal code for the address. For numeric columns, any hyphens and leading zeroes are dropped.
Latitude - The latitude at which the address is located. For both latitude and longitude, the precision is 6 decimal places.
For the United States, coordinates are on the center line of the street.
For Brazil, the coordinates are the household coordinates.
For Mexico, the coordinates are the point or building that is mapped in OpenStreetMap.
Longitude - The longitude at which the address is located.
Full address - The complete address, in the standard format for the selected country.
Selecting the fallback generator
When you configure the generator to use a column value for the country, but that column does not contain a valid country value, then Structural uses the fallback generator setting to determine what to do with the linked column values.
The default value is Null, which indicates to replace all of the linked source values with null values.
The other options are:
Constant - Indicates to apply the Constant generator. When you select this option, Structural displays a field to provide the constant value to use. You specify a constant value in the configuration for each linked column.
Fail on error - Indicates to fail the data generation.
Setting the type of consistency
If consistency is enabled, then by default, the generator is self-consistent.
To make the generator consistent with another column, from the Consistent to dropdown list, select the column.
When the Valid Address generator is consistent with itself, then:
For a non-linked column, the same value in the source database is always mapped to the same destination value. For example, for a column that contains a state name,
Alabamamight always be mapped toIllinois.For linked columns, the same collection of source values is always mapped to the same collection of destination values. For example, for linked columns that contain city, state, and postal code, then every row that contains the values
Boston,Massachusetts,02103might always be mapped toChicago,Illinois,60076.
When the Valid Address generator is consistent with another column, then the same value in the other column always results in the same destination value for the address column. This includes source rows that contain null source values. For example, if the address column is consistent with a name column, then every instance of John Smith in the name column in the source database results in the same address value in the destination database.
Setting case sensitivity for consistency
When consistency is enabled, use the Case-sensitive toggle to indicate whether the consistency is case-sensitive.
By default, consistency is case-sensitive.
For a non-linked column, the comparison is for the individual column value. For example, the values
AnytownandANYTOWNare considered different values.Anytownmight always be replaced withChicago, andANYTOWNmight be replaced withAtlanta.For linked columns, the comparison is across all of the column values. For example, for linked columns that contain city, state, and postal code, a row that contains
Boston,Massachusetts,02103does not match a row that containsBOSTON,Massachusetts,02103. The rows would not be replaced with the same set of values.
To make the consistency case-insensitive, toggle Case-sensitive to the off position. When the consistency is case-insensitive, then:
For a non-linked column,
AnytownandANYTOWNare considered the same value and have the same replacement.For linked columns,
Boston,Massachusetts,02103andBOSTON,Massachusetts,02103are considered the same address and are replaced with the same set of values.
Enabling Structural data encryption
If Structural data encryption is enabled, then to use it for this column, in the advanced options section, toggle Use data encryption process to the on position.
Last updated
Was this helpful?