how does R read multiple answers for one varialbe from a CSV file? For instance, let's suppose that we have a variable called 'Relative Names'. A person will usually have many relatives and therefore a name for each hence under 'Relative Names" variable there will be multiple answers such as John, Kate, Peter, Annie etc...Is it better to have in the CSV file one variable containing all four names separated by space:
Relative Names
John Kate Peter Annie
or is it better to create a variable for each entry i.e.
Relatives Names 1 Relative Names 2 Relatives Name 3 Relative Names 4
John Kate Peter Annie
The problem with the second where you create an additional variable for each entry is that a second person might have for example six relatives then you will need to create Relative 5 and Relative 6 and so on for other people.
How does R deal best with multiple answers? What is the code to be used in R to extract multiple answers?