I need to read a set of .CSV files in a folder by copying the header(First row) to a column variable and the second row as a header in R.
My input format is like this
My output format would be like this
Date = c('3/12/2019', '3/14/2019', '3/15/2019')
Number = c('24', '15.2', '27.1')
linc = c('A / B /C / D /E / F', 'A / B /C / D /E / F', 'A / B /C / D /E / F')
D1 = data.frame(Date, Number, linc)
Sorry for bas question format. I am a beginner