Very new to this so please bare with me...
I have two sets of data frames INFO and DATA and the individual data frames are named INFO1, DATA1 etc. I want to merge INFO1 with DATA1, INFO2 with DATA2 and so on at the moment I am using the following:
File <- "path to excel"
INFO1 <- read_excel(File, sheet = "INFO1")
DATA1 <- read_excel(File, sheet = "DATA1")
PCR1 <- merge(INFO1, DATA1)
INFO2 <- read_excel(File, sheet = "INFO2")
DATA2 <- read_excel(File, sheet = "DATA2")
PCR2 <- merge(INFO2, DATA2)
Is there a way I can loop this?