I've just ran a mixed ANOVA using ezANOVA and I need to create a data frame with the output for extraction into an Rmd but I cannot find any information on how to do it. 
I've previously used aov() and broom::tidy(), however tidy() cannot format the output I get from the ezANOVA. I've tried as.data.frame but it results is a very messy data frame so I'd rather not use it. Does anybody know of a solution which gives an easy to read data frame similar to tidy()?
My ANOVA:
library(ez)
aov <- b <- ezANOVA(data=exp1.long,
        dv=consensus,
        wid=participant_id,
        within=trait,
        between=age_group,
        type=3,
        detailed=T 
        )
 
     
     
    