dataset containing only respondents with a given value on a variable in another datas


New Member
I was hoping you could give me a quick response to what is probably a very simple problem.

I got a dataset in which one of the variables is for wether or not the respondents of a survey are from country X (lets call this variable country). They either got the value Yes or No.
Lets call the existing dataset my_data and the one I want to make new_data. I want new_data to only contain respondents with the value No on the variable country.

Im guessing someone got a very simple line of code for this, and I would be very thankful for your help!