I have the following file
ficheros <- c("ventas_20160522_zaragoza.csv", "pedidos_firmes_20160422_soria.csv")
And I want to create, through a function, a df in which I have the two rows mentioned and distributed in 3 columns ("Name","Date","Province")
How could I do that? I don't know if the formula would strsplit()
work well in this case.
Thanks in advance.