I have a Dataset with 150 countries. Now, I would like to keep the data of only about 35 countries. All the countries are identified by their isocode in the data set.
I tried the following command:
keep if isocode = "AUT"
so this one worked. The problem is, that I want to keep 34 other countries.
I tried to use the operator & ( keep if isocode =" "AUT" & "AUS" &......) but it didn't work out.
Does anyone knows a better way to deal with this problem? I would be extremely thankful!
Best
Elio
I tried the following command:
keep if isocode = "AUT"
so this one worked. The problem is, that I want to keep 34 other countries.
I tried to use the operator & ( keep if isocode =" "AUT" & "AUS" &......) but it didn't work out.
Does anyone knows a better way to deal with this problem? I would be extremely thankful!
Best
Elio
Comment