MyNixOS website logo
Description

Generate Data Containing Fake Personally Identifiable Information.

Allows users to quickly and easily generate fake data containing Personally Identifiable Information (PII) through convenience functions.

generator

Build Status Build status codecov.io CRAN_Status_Badge Downloads from the RStudio CRAN mirror Project Status: Active - The project has reached a stable, usable state and is being actively developed.

generator generates data containing fake Personally Identifiable Information (PII). Once complete, generator will be able to generate the following types of PII:

  • Full name
  • Home address
  • E-mail address
  • National identification number
  • Passport number
  • IP address
  • Vehicle registration plate number
  • Driver's license number
  • Credit card number
  • Date of birth
  • Birthplace
  • Telephone number
  • Latitude and longtiude

State of the Union

Complete!

  • Full name
  • E-mail address
  • Date of birth
  • Telephone number
  • Latitude and longtiude

Needs more work...

  • National identification number
  • IP address
  • Credit card number

Haven't even started :(

  • Home address
  • Vehicle registration plate number
  • Driver's license number
  • Birthplace

Installation

You can install:

  • the latest released version from CRAN with

    install.packages("generator")
    
  • the latest development version from github with

    if (packageVersion("devtools") < 1.6) {
      install.packages("devtools")
    }
    devtools::install_github("paulhendricks/generator")
    

If you encounter a clear bug, please file a minimal reproducible example on github.

API

Full Name

library(generator)
r_full_names(5)
#> [1] "Elmo Oberbrunner" "Bernard Kozey"    "Vicky Quigley"   
#> [4] "Duane Spencer"    "Edmond Pollich"

Home address

# To be added

Email address

r_email_addresses(5)
#> [1] "[email protected]" "[email protected]"    "[email protected]"     
#> [4] "[email protected]"             "[email protected]"

National identification number

r_national_identification_numbers(5)
#> [1] "793-28-9611" "123-33-5174" "256-44-8311" "937-73-3726" "713-19-6715"

Passport number

# To be added

IP address

r_ipv4_addresses(5)
#> [1] "177.39.163.254" "249.157.34.181" "41.72.235.155"  "230.97.151.209"
#> [5] "11.243.19.74"

Vehicle registration plate number

# To be added

Driver's license number

# To be added

Credit card number

r_credit_card_numbers(5)
#> [1] "To be updated: depends on Card Type."

Date of birth

r_date_of_births(5)
#> [1] "1967-04-18" "1973-09-16" "1962-07-14" "1937-02-22" "1934-11-19"

Birth place

# To be added

Telephone number

r_phone_numbers(5)
#> [1] "2595175687" "4725672493" "4715147591" "8365812618" "3961589284"
r_phone_numbers(5, use_hyphens = TRUE)
#> [1] "872-849-8794" "798-897-7623" "283-496-5361" "897-651-1897"
#> [5] "918-534-2341"
r_phone_numbers(5, use_hyphens = TRUE, use_parentheses = TRUE)
#> [1] "(862)-179-2835" "(625)-412-8493" "(541)-269-9823" "(851)-287-9384"
#> [5] "(735)-749-1758"
r_phone_numbers(5, use_spaces = TRUE, use_parentheses = TRUE)
#> [1] "(829) 598 6158" "(452) 391 8417" "(548) 476 6513" "(461) 964 1749"
#> [5] "(468) 947 1489"

Latitude and longitude

paste0(r_latitudes(5), ", ", r_longitudes(5))
#> [1] "50.5428569717333, 27.972827218473"  
#> [2] "-74.949232628569, 138.600759068504" 
#> [3] "-8.98536507971585, 8.76628928817809"
#> [4] "-55.297284303233, -79.1284860111773"
#> [5] "66.6512586269528, 90.6234182976186"
Metadata

Version

0.1.0

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows