Name y2_costate y2_FIPSCO
1 Joe Arlington County, VA 51013
2 Joe Arlington County, VA 51013
3 Joe Arlington County, VA 51013
4 Joe Arlington County, VA 51013
5 Joe Arlington County, VA 51013
6 Joe Arlington County, VA 51013
7 Joe Arlington County, VA 51013
8 Mary Baltimore city, MD 24005
9 Mary Baltimore city, MD 24005
10 Mary Baltimore city, MD 24005
11 Mary Baltimore city, MD 24005
12 Mary Baltimore city, MD 24005
13 Mary Baltimore city, MD 24005
14 Mary Baltimore city, MD 24005
I am trying to do a group_by on the three variable dataset test4.
The package does not do the grouping. The results are below. What am I missing?
Thanks, Anton
check4 <- group_by(test4, Name)
head(check4)
head(check4, 14)
# A tibble: 14 x 3
# Groups: Name [2]
Name y2_costate y2_FIPSCO
<fct> <fct> <int>
1 Joe Arlington County, VA 51013
2 Joe Arlington County, VA 51013
3 Joe Arlington County, VA 51013
4 Joe Arlington County, VA 51013
5 Joe Arlington County, VA 51013
6 Joe Arlington County, VA 51013
7 Joe Arlington County, VA 51013
8 Mary Baltimore city, MD 24005
9 Mary Baltimore city, MD 24005
10 Mary Baltimore city, MD 24005
11 Mary Baltimore city, MD 24005
12 Mary Baltimore city, MD 24005
13 Mary Baltimore city, MD 24005
14 Mary Baltimore city, MD 24005
>