Filtering rows in dataframe with dplyr
<p>I have a harmonized dataset about surveys conducted in different countries from 1960 to 2014. I want to drop the rows where two different surveys have been conducted in the same country in the same year. I am not sure how to use the filter verb in dplyr to drop the rows from the harmonized dataset. </p>

<pre><code>Harm_data1 %&gt;% 
group_by(country, survey, year, protest demo , protest fact) %&gt;% 
filter(country &gt;= 2 | year &gt;=2) 
</code></pre>