Telephone number synthesis options

For Phone Number values, you can choose whether to generate a realistic phone number. If you do, then the generated values can be consistent with values generated in Structural.

Synthesis options for telephone number values

Selecting the generator type

From the Phone number generator type dropdown list:

  • To replace each phone number with a randomly generated number, select Random Number.

  • To generate a realistic telephone number, select US Phone Number. The US Phone Number option generates values similar to those generated by the Phone generator in Structural.

If you also configured a Textual statistics seed that matches a Structural statistics seed, then the synthesized values are consistent with values generated in Structural. A given source telephone number produces the same output telephone number in both applications.

For example, in both Textual and Structural, 123-456-6789 might be replaced with 154-567-8901.

Replacing invalid telephone numbers

The Replace invalid numbers with valid numbers checkbox determines how Textual handles invalid telephone numbers in the data.

To replace the invalid with valid telephone numbers, check the checkbox.

If you do not check the checkbox, then Textual randomly replaces the numeric characters.

Preserving the area code

The Preserve US area code checkbox determines whether Textual preserves the area code for telephone numbers in the United States.

To preserve the area codes from the source values in the output values, check the checkbox.

If you do not check the checkbox, then Textual replaces the entire telephone number, including the area code.

Last updated

Was this helpful?