r - 错误消息 - “未提供编码:默认为 UTF-8” - ecb 包
问题描述
我想利用 ecb 包中的“获取数据”功能将数据直接加载到数据框中。通过以下代码可以轻松访问整个数据
library(ecb)
deposits_nfcs_FR <- get_data("MIR.M.FR.B.L21.A.R.A.2250.EUR.N")
但是,从今天开始,我收到以下错误消息
No encoding supplied: defaulting to UTF-8.
Error in check_status(req) : HTTP failure: 502
<html lang="en"><head><title>European Central Bank</title><style type="text/css"> body{ font-family: "Droid Sans", sans-serif; margin:0; padding:0; background-color: #9099ab; text-align: center; } h1{ font-size:38px; font-weight: normal; color:#003299; } @media screen and (max-width: 480px) { h1{ font-size: 30px; } } p { font-size: 15px; line-height: 20px; color: #333; margin-bottom: 20px; } p.signature{ font-style: italic; color:#DF0101; } .centredFrame { margin: 0 auto; text-align: center; width: 70%; } .content{ margin-top:40px; padding:40px; background-color: #fff; border:1px solid #CDE3E0; -moz-border-radius: 20px; border-radius: 20px; } </style><link href="//fonts.googleapis.com/css?family=Droid+Sans" rel="stylesheet" type="text/css"></head><body><div class="centredFrame"><div class="content"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAACACAYAAACx1FRUAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JQAAgIMAAPn/AACA6QAAdTAAAOpgAAA6mAAAF2+SX8VG
有人知道吗?解决方案必须简单明了,因为我没有在代码中更改任何内容。
非常感谢提前和最好的问候!
解决方案
推荐阅读
- django - 想知道它是否是第一个使用 django social 登录的用户?
- android - Android Paging 3.0 加载方法不起作用
- r - R - 块列表使用的 RAM 是否比读取/写入每个块少?
- apache - 从 http 更改为 https 后 URL 重定向不起作用
- python - 如何在 Pandas 数据框中查找每个列顺序的总和和计数?
- active-directory - onedrive 组策略问题
- azure-functions - 如何限制 Azure 函数应用仅访问 AD B2C API 连接器?
- r - KDE Neon 中的 RStudio
- liquibase - Liquibase 变更集 changeLogPropertyDefined 不起作用
- html - HTML5 部分与文章中的标题