I have the data set pictured here:

I built a simple linear regression model for one specific county, and now I want to test its accuracy on different counties. Currently, I know that I can create a subset of the data for one county using the following: tompkins = tax[strip.(tax.County, [' ']) .== "Tompkins",:]. However, it would be quite cumbersome to manually create a subset of the data for each county this way. Is there a more efficient way where I can gather all county data subsets so that I can run my linear model on them?