Code
%>%
PNNI_NEW left_join(PNNI_NEW_var$VAR %>%
setNames(c("VAR", "Var")), by = "VAR") %>%
group_by(VAR, Var) %>%
summarise(Nobs = n()) %>%
arrange(-Nobs) %>%
if (is_html_output()) datatable(., filter = 'top', rownames = F) else .} {