I'm not able to count missing values using dbplyr on a posgresql database. I have 350 columns and i'd like to use something like that (that works on local)
db = tbl(con, 'db')
db %>%
summarise_all(
function(x) sum(is.na(x))
)
but I get
Error in (function (x) : object "market" not found
where 'market' is a variable in the db
Is there any shortcut to make this work?