For Example the following will not work:
data(mpg)
filter(mpg, manufacturer =="audi") %>%
sum(.$cty)
However the following will work:
data(mpg)
x <- filter(mpg, manufacturer =="audi")
sum(x$cty)
I would like to get it all to work in a piping flow if possible.