Data reading with R



Hello, I am trying to read these data systematically and converting it into tabular form for analysis of variables. what are the tools and libraries available in R for this? Also is there any tools R than which makes it easier. Please find the sample demographic data which I am trying to (9.0 KB)


You can use read.csv or read.table in R to make your look like in proper tabular format !!


Hi Anushka,

It would be hard to read data by read.csv() so, I would suggest to first manipulate & transform this data by tidyr, dplyr or data.table package. If you want to read by lines in string then use readLines() . Otherwise you can import data through fread() in data.table packge or read_csv() in readr package.

I believe I am making some sense to your problem.