WebSocket (WSS) and Shiny

Is it possible to use data from a websocket (wss) in Shiny? In specific I want to use data from this websocket address: wss://ws.coinapi.io/v1/ (https://docs.coinapi.io/#websocket-api) and want to visualize it. But everything I found about R/Shiny and websockets is a few years old and no usable anymore. The package "websockets" isnt available anymore too and even the archived version cant be added as there is a dependency error with "caTools".

If its possible, some minimal sample code how to connect in Shiny with a wss source would be awesome! Unfortunately I wasnt able to find any relevant code that worked...

2 Likes