I am making calls to an API and want to store the resulting list output in a variable I name dynamically with a timestamp as part of the variable name. I have tried assigning the results to a variable with the date in the name, but have not had luck. Thanks for any help you can offer!
list(date = Sys.Date(),
time = Sys.time(),
rand = runif(1, min = 0, max = 1)) %>%
assign(x = ., value = paste0(Sys.Date(), "_out"))