0

I use pxweb to query data from Swedish statistics.

But I have problem to hide the large query problem.

enter image description here

I have tried to hide it with echo, message, warning = FALSE

but nothing works.

Wondering how I can hide this message.

Roman Luštrik
  • 69,533
  • 24
  • 154
  • 197

1 Answers1

1

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 using capture.output. However, for your use case, try setting pxweb_get(..., verbose = FALSE) and see if it helps.

Roman Luštrik
  • 69,533
  • 24
  • 154
  • 197