I am heving an error using a for procedure:
Error Message: Error in fix.by(by.x, x) : 'by' must specify a uniquely valid column
tab <- read.csv("dados/tabelas.csv", sep = ";" )
View(tab)
count = 1
for (i in tab[, 1]){
print("inicio")
print(paste("identi", tab[count, 1]))
print(paste("tabela", tab[count, 2]))
print("fim")
ident <- tab[count, 1]
tabela1 <- tab[count, 2]
tabela3 <- tab[count, 3]
df1 <- tab[count, 4]
tabela <- Quandl(ident)
tabela2 <- Quandl(ident, transform = "diff")
assign(tabela1, tabela)
assign(tabela3, tabela2)
View(tabela1)
count = count + 1
df <- merge(x = tabela1, y = tabela3, by = "Date", all = TRUE)
assign(df1, df)
}