Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201839

Filter rows based on the column of a CSV file in R

$
0
0

I have a large data frame with around 25 000 entries. The variables in this frame have generic names, from V1 to V8. However, one of these variables, namely V2 in my case (representing a series of ZIP codes) is of interest. I would like to filter my data frame so that I get only the ZIP codes listed in a CSV file (only one column used in the CSV file, namely the list of ZIP codes of interest).

Any easy way of doing that?


Viewing all articles
Browse latest Browse all 201839

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>