【发布时间】:2020-11-20 12:35:53
【问题描述】:
我正在尝试从其中 URL 包含 R 中的非标准拉丁字符的 API 读取,但出现错误。没有有趣字符的类似 URL 可以正常工作。
我收到以下错误
> RJSONIO::fromJSON("https://api-prod.footballindex.co.uk/exchange-orders/market-depth/kylian-mbappé")
Error in file(con, "r") : cannot open the connection
标准字符可以正常工作
res <- RJSONIO::fromJSON("https://api-prod.footballindex.co.uk/exchange-orders/market-depth/neymar")
【问题讨论】: