Hi there,
I have a data frame with a column named "Flags", whose contents are strings
containing any of the following characters, multiple characters allowed:
A,B,C,D,E,F,G.

Here is the head:
    GeocodeID PlaceID CountyCode CBSACode StateProvCode PropertyTypeGroupID
Flags
1           0       0                0            0
AK                   1                              ABC
2           0       0                0            0
AK                   2                              AC
3           0       0                0            0
AK                   3                              BC
4           0       0                0            0
AK                   4                              CD
5           0       0                0            0
AK                  14                             CD
6           0       0                0            0
AK                  15                             ACDE
7           0       0                0            0
AL                   1

I want to select only the rows whose "Flag" element contains the character
G. Is there a simple way to do this, or should I perhaps come up with a
different system of flags, which is totally up to me?

Thanks,

Alex

	[[alternative HTML version deleted]]

