Hi,
I have 15 big data sets where I want to keep only a few variables and I want to do the same to my other datasets.
The problem is that the variable names differ in those data sets and same variables have only the same labels.
(e.g. variable "aaqhi" in data set 1 and "aaghx" in data set 2 both have the same label as "Date of Birth")
So I'm looking for a way to keep variables using their labels, in all those data sets, save them on the existing data sets and then merge all the data sets.
The thing is I do not know how to use variable labels in functions instead of names and I have already searched the forum but did not find anything.
many thanks,
Arman.
Related Posts with Subsetting data using labels
floatplot -legend- optionDear Nick Cox , I have started using your -floatplot- from SSC program. I really like to use it more…
How to graph the moderating effect(moderator: dummy variable) of a quadratic model?Dear specialists, I really thank everyone here sparing no efforts to help me. I have a censored da…
Regarding Interval data (generating more years and duplicating values)Dear, Can anyone help me to manage the data? I have interval data. Since the data are only availabl…
panel data with cross sectional dependence and autocorrelationI have a panel data with N>T (N=157, T=15). Have taken log of a few variables to make it Heterosc…
Regarding Interval data (generating more years and duplicating values)Dear, Can anyone help me to manage the data? I have interval data. Since the data are only availabl…
Subscribe to:
Post Comments (Atom)
0 Response to Subsetting data using labels
Post a Comment