I am trying to read from an API where the URL contains a non-standard latin character in R, but am getting an error. Similar URLs without a funny character work fine.
I get following error
> RJSONIO::fromJSON("https://api-prod.footballindex.co.uk/exchange-orders/market-depth/kylian-mbappé")
Error in file(con, "r") : cannot open the connection
Standard characters work fine
res <- RJSONIO::fromJSON("https://api-prod.footballindex.co.uk/exchange-orders/market-depth/neymar")