我正在尝试使用 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")
自“:未经授权(HTTP 401)”以来,我的 API 密钥有问题吗?