I use pxweb to query data from Swedish statistics.
But I have problem to hide the large query problem.
I have tried to hide it with echo, message, warning = FALSE
but nothing works.
Wondering how I can hide this message.
I use pxweb to query data from Swedish statistics.
But I have problem to hide the large query problem.
I have tried to hide it with echo, message, warning = FALSE
but nothing works.
Wondering how I can hide this message.
Looking at the source code of the function here I can see that the authors decided to use
cat
to enlighten you with the message. This can be circumvented in a few ways, like flushing it into the void usingcapture.output
. However, for your use case, try settingpxweb_get(..., verbose = FALSE)
and see if it helps.