Documentation

Person / Identity Functions

Generate realistic person and identity data

Person / Identity Functions

Generate realistic personal identity data including names, identifiers, and demographics.


generate_full_name

Generate a realistic full name with first and last name.

Category: Person Type: Generator Data Types: string, text

Parameters

None

Example

columns:
  - name: customer_name
    function: generate_full_name

Output Sample

John Smith
Maria Garcia
David Chen

generate_first_name

Generate a realistic first name.

Category: Person Type: Generator Data Types: string, text

Parameters

None

Example

columns:
  - name: first_name
    function: generate_first_name

Output Sample

John
Maria
David
Sarah

generate_last_name

Generate a realistic last name.

Category: Person Type: Generator Data Types: string, text

Parameters

None

Example

columns:
  - name: last_name
    function: generate_last_name

Output Sample

Smith
Garcia
Johnson
Williams

generate_job_title

Generate realistic job titles.

Category: Person Type: Generator Data Types: string, text

Parameters

None

Example

columns:
  - name: job_title
    function: generate_job_title

Output Sample

Software Engineer
Marketing Manager
Sales Representative
Chief Financial Officer

generate_ssn

Generate Social Security Numbers (US format).

Category: Person Type: Generator Data Types: string

Parameters

None

Example

columns:
  - name: ssn
    function: generate_ssn

Output Sample

123-45-6789
987-65-4321

Note: Generated SSNs are fake and for testing only.


generate_gender

Generate gender identifiers.

Category: Person Type: Generator Data Types: string

Parameters

ParameterTypeDefaultDescription
optionslist["male", "female", "non-binary"]Custom list of gender options

Examples

Default options:

columns:
  - name: gender
    function: generate_gender

Custom options:

columns:
  - name: gender
    function: generate_gender
    parameters:
      options: ["M", "F", "X"]

Output Sample

male
female
non-binary

generate_birthdate

Generate realistic birth dates based on age range.

Category: DateTime Type: Generator Data Types: date

Parameters

ParameterTypeDefaultDescription
minimum_ageinteger18Minimum age in years
maximum_ageinteger90Maximum age in years

Examples

Adult ages (18-65):

columns:
  - name: date_of_birth
    function: generate_birthdate
    parameters:
      minimum_age: 18
      maximum_age: 65

Children (5-17):

columns:
  - name: child_dob
    function: generate_birthdate
    parameters:
      minimum_age: 5
      maximum_age: 17

Output Sample

1985-03-15
1990-07-22
1978-11-30

generate_patient_id

Generate realistic patient identifiers.

Category: Person Type: Generator Data Types: string

Parameters

ParameterTypeDefaultDescription
prefixstring"PAT"Prefix for patient ID
lengthinteger8Length of numeric part
include_checksumbooleanfalseInclude checksum digit

Example

columns:
  - name: patient_id
    function: generate_patient_id
    parameters:
      prefix: "PT"
      length: 10
      include_checksum: true

Output Sample

PAT12345678
PT12345678901