The AddressGen Generator generates addresses consisting of a street number, name, and type with optional direction. 

In This Article

Generator Parameters

The following parameters may be configured for the AddressGen Generator. Items with an asterisk* are required. 

  • startNumber* - Defines a starting street number (e.g., 1, 500, 1000).
  • endNumber - Defines an ending street number (e.g., 500, 1000, 2500).
  • waitAmount* - Defines how many iterations the street direction, name, and type will remain the same while the street number still increases.
  • jumpAmount* - Defines the amount to jump between street numbers.
  • streetNames* - Select between names of presidents or names of trees (e.g., Washington, Apple, Oak).
  • randomize* - Defines whether the street direction, name, and type will be randomized.
  • seed - Defines an optional seed for randomization. Using the seed will ensure that the same random data is generated each time data is generated.
  • useDirection* - Defines whether the direction will appear in the street address. If True, then the direction will appear in the address (e.g., NE, N, S, SW). When False, the direction will not appear in the address. 

Video Training 

The following video can be used to see a quick tutorial on how to use the AddressGen Generator: 

Does the AddressGen Generate Real Addresses? 

The AddressGen Generator generates synthetic addresses via a pattern, but these addresses are not real. Real addresses are not synthetic data; they are enumerated data. The related zipCode, city, and state Generators generate a finite set of related enumerated data. But, even their enumerated data is technically considered synthetic as zipCodes and city names may change over time; however, the enumerated data within these Generators will not change. 

To generate real and specific addresses, users can assign the ListGen Generator or one of the QueryGen Generators (e.g., ListCSVGen) to define the specific addresses to query for generating real addresses. Another option is the G-Query feature within the Self Service Platform to query from enumerated data for multiple Domain Attributes. G-Queries are the recommended approach when users want to test with real-world data that is not synthetic. 

How Does the AddressGen Generator Work

  1. Create a new Attribute or use an existing Attribute.
  2. Assign the AddressGen to the Attribute. 
  3. Configure the Generator parameters and save the changes. 

Example 1 - Addresses with a Defined Street Range and Directions Included

The following parameter configuration generates addresses with a street number ranging from 500 to 2500 and the street name as presidents. Addresses are randomized, and directions are included. 

Data Preview:

Example 2 - Increasing Street Numbers with Same Street Name for Multiple Records

The parameter configuration below switches the street name every ten records while increasing the street number for every record. Data is randomized, and directions are NOT included. 

Data Preview: