Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- map(month.name, ~{
- data = tibble(period = paste0(.x,' 2019')
- ,cust = paste0(sample(letters,size=1000,replace = T),sample(1:100000,size = 1000,replace = T))
- ,transactions = rlnorm(n = 1000,meanlog = 8)) %>%
- readr::write_csv(paste0('data/',.x,'.csv'))
- })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement