Package 'generator'

Title: Generate Data Containing Fake Personally Identifiable Information
Description: Allows users to quickly and easily generate fake data containing Personally Identifiable Information (PII) through convenience functions.
Authors: Paul Hendricks [aut, cre]
Maintainer: Paul Hendricks <[email protected]>
License: MIT + file LICENSE
Version: 0.1.0.9000
Built: 2024-10-27 05:50:13 UTC
Source: https://github.com/paulhendricks/generator

Help Index


generator: Generate Data Containing Fake Personally Identifiable Information

Description

generator: Generate Data Containing Fake Personally Identifiable Information


Generate random fake credit card numbers.

Description

Generate random fake credit card numbers.

Usage

r_credit_card_numbers(n)

Arguments

n

number of observations.

Value

A character vector of n randomly generated credit card numbers.

Examples

r_credit_card_numbers(10)

Generate random fake date of birth values.

Description

Generate random fake date of birth values.

Usage

r_date_of_births(n, start = as.Date("1900-01-01"), end = Sys.Date())

Arguments

n

number of observations.

start

starting date.

end

ending date.

Value

A character vector of n randomly generated date of birth values.

Examples

r_date_of_births(10)
r_date_of_births(10, start = as.Date("2000-01-01"))
r_date_of_births(10,
                 start = as.Date("2000-01-01"),
                 end = as.Date("2100-01-01"))

Generate random fake e-mail addresses.

Description

Generate random fake e-mail addresses.

Usage

r_email_addresses(n)

Arguments

n

number of observations.

Value

A character vector of n fake randomly generated e-mail addresses.

Examples

r_email_addresses(10)

Generate random fake full names.

Description

Generate random fake full names.

Usage

r_full_names(n)

Arguments

n

number of observations.

Value

A character vector of n fake randomly generated full names.

Examples

r_full_names(10)

Generate random fake IPv4 address numbers.

Description

Generate random fake IPv4 address numbers.

Usage

r_ipv4_addresses(n)

Arguments

n

number of observations.

Value

A character vector of n randomly generated IP address numbers.

Examples

r_ipv4_addresses(10)

Generate random fake latitude values.

Description

Generate random fake latitude values.

Usage

r_latitudes(n)

Arguments

n

number of observations.

Value

A character vector of n randomly generated latitude values.

Examples

r_latitudes(10)

Generate random fake longitude values.

Description

Generate random fake longitude values.

Usage

r_longitudes(n)

Arguments

n

number of observations.

Value

A character vector of n randomly generated longitude values.

Examples

r_longitudes(10)

Generate random fake national identification numbers.

Description

Generate random fake national identification numbers.

Usage

r_national_identification_numbers(n)

Arguments

n

number of observations.

Value

A character vector of n randomly generated national identification numbers.

Examples

r_national_identification_numbers(10)

Generate random fake phone numbers.

Description

Generate random fake phone numbers.

Usage

r_phone_numbers(n, use_hyphens = FALSE, use_parentheses = FALSE,
  use_spaces = FALSE)

Arguments

n

number of observations.

use_hyphens

should hyphens be included.

use_parentheses

should parantheses be included.

use_spaces

should spaces be included.

Value

A character vector of n randomly generated phone numbers.

Examples

r_phone_numbers(10)
r_phone_numbers(10, use_hyphens = TRUE)
r_phone_numbers(10, use_parentheses = TRUE)
r_phone_numbers(10, use_spaces = TRUE)
r_phone_numbers(10, use_parentheses = TRUE, use_hyphens = TRUE)
r_phone_numbers(10, use_parentheses = TRUE, use_spaces = TRUE)