Skip to content

Instantly share code, notes, and snippets.

@darioappsilon
Created May 23, 2022 06:38
Show Gist options
  • Save darioappsilon/a82de75188ce77b54821bf786429d51b to your computer and use it in GitHub Desktop.
Save darioappsilon/a82de75188ce77b54821bf786429d51b to your computer and use it in GitHub Desktop.
library(tibble)
random_string_column <- function(n) {
stringi::stri_rand_strings(n = n, length = 8)
}
random_data_frame <- function(n) tibble(
col1 = random_string_column(n),
col2 = random_string_column(n)
)
data <- random_data_frame(10^7)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment