I have a .dat file, the contents are not in a csv or tsv file, it’s contents look like the below:
 "<Overall Rating>4"  "<Avg. Price>$173"  "<URL>http://www.tripadvisor.com/ShowUserReviews-g60878-d72572-r23327047-Best_Western_Pioneer_Square_Hotel-Seattle_Washington.html"  ""  "<Author>everywhereman2"
I want to know how to convert this into a dataframe in R. The contents between the < and > would be the column name and following should be the corresponding entry.
I realize I could hard code string extraction corresponding to every column, but is there any inbuilt method?