HI, can someone help me with this please using R tool? I had previously written the code in R and want to migrate it to Alteryx.
I have an excel file as input. and using the data from the file I want to create a TAB (TAB_1) in a new csv file. And the mapping will be as follows:
day_1 <- Sys.Date()
day_1
file_1.tb <- read.Alteryx("#1",mode="data.frame")
col_1 <- file_1.tb[1,1] # first colum from input file will be first column in new output tab
col_2 <- file_1.tb[1,6] # 6th column from input file will be second column in new output tab
tab_1.df <- data.frame( Date = col_1, Name = col_2)
tab_1_directory = paste("H:/Documents/New folder/Manual Updates/",day_1,"/tab_1.xlsx",sep="")
write_xlsx(tab_1.df,tab_1_ldirectory)