提取历史天气数据时出错

问题描述

早上好,我正在尝试从Weather Underground的个人气象站下载每日(或每小时)天气数据。我知道他们几年前取消了免费的API密钥,但是我从他们的个人气象站获得了一个API密钥。

无论如何,当我运行代码时,我遇到一个错误,我无法确定它的含义,并想知道是否有人可以帮助我。

library(rwunderground)

set_api_key(key)
my_weather_station<- station 

weatherdat <- history_range(set_location(PWS_id = my_weather_station),use_metric = imperial,date_start = "20170301",date_end = "20180228",key = key)

我不断收到错误消息:

Error in wunderground_request(request_type = "history",location = location,: 
  Service Unavailable (HTTP 503).

从我可以收集到的有关该软件包的信息来看,它已经很旧了,也许没有更新,所以我不确定该软件包是否能继续工作。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)