For some reason I can't group and sum my data.
amazon2 <- amazon %>%
group_by(amazon.order.id, quantity.shipped) %>%
summarize(amazon2, quantity = sum(quantity.shipped, na.rm = TRUE))
glimpse shows this:
Groups: amazon.order.id [388] $ amazon.order.id "204-0311626-3448315", "204-9226726-5233164", "026-2318018-... $ quantity.shipped 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 1, 1, 1, 1,...
The result just gives me the cell 491 and nothing else.