knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "README-" )
generator
generates data containing fake Personally Identifiable Information (PII). Once complete, generator
will be able to generate the following types of PII:
You can install the latest development version from CRAN:
install.packages("generator") ```` Or from GitHub with: ```R 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.
library(generator) n <- 6 set.seed(1) ashley_madison <- data.frame(name = r_full_names(n), snn = r_national_identification_numbers(n), dob = r_date_of_births(n), email = r_email_addresses(n), ip = r_ipv4_addresses(n), phone = r_phone_numbers(n), credit_card = r_credit_card_numbers(n), lat = r_latitudes(n), lon = r_longitudes(n), stringsAsFactors = FALSE) knitr::kable(ashley_madison, format = "markdown")
To cite package ‘generator’ in publications use:
Paul Hendricks (2015). generator: Generate Data Containing Fake Personally Identifiable Information. R package version 0.1.0. https://CRAN.R-project.org/package=generator
A BibTeX entry for LaTeX users is
@Manual{, title = {generator: Generate Data Containing Fake Personally Identifiable Information}, author = {Paul Hendricks}, year = {2015}, note = {R package version 0.1.0}, url = {https://CRAN.R-project.org/package=generator}, }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.