【发布时间】:2020-04-27 15:43:23
【问题描述】:
我正在尝试使用 rscopus 以及我从 https://github.com/christopherBelter/scopusAPI 获得的函数从 Scopus 中提取摘要
我有使用我的大学帐户的 API 密钥,但是在尝试将数据保存为 xml 时,使用:
theXML <- searchByString(string = query, outfile = "testdata.xml")
我遇到了一个错误:
Error in searchByString(string = query, outfile = "testdata.xml") : Unauthorized (HTTP 401).
3. stop(http_condition(x, "error", task = task, call = call))
2. httr::stop_for_status(theURL) at scopusAPI.R#12
1. searchByString(string = query, outfile = "testdata.xml")
我的 API 密钥是否有问题,因为“:未经授权 (HTTP 401)”?
【问题讨论】:
标签: r xml xml-parsing xmlhttprequest scopus