I have a survey called 'pms_raw'. I import that to R from online, and then immediately make a copy, into 'survey' so I have pms_raw as raw data, and survey which I start cleaning.
I have cleaned up 'survey' which involved changing the names of all the columns, from things like 'Q1' to 'age'. Now I need to make some sort of index/table where I can check old Q names from pms_raw and compare to new Q names in 'survey' so others can see what I've done.
The way I was planning on doing this, was by making a table manually, which will be quite a long route. Does anyone have any suggestions of how to do this in a better way? It would probably involve some kind of matching of column names?
An added dimension is that some columns have been totally removed in the 'survey' so the table needs to have N/A at those spots.
In a dream world it would look like:
pms_raw survey
Q1 age
Q2 height
Q3 weight
Thanks so much