对Scopus Search API进行搜索时出错,并将结果分批保存到xml文件中

问题描述 投票:0回答:1

我正在尝试使用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密钥有问题吗?

[我正在尝试使用rscopus并使用从https://github.com/christopherBelter/scopusAPI获得的功能从Scopus提取摘要,我使用我的大学帐户拥有API密钥,但是...

r xml xml-parsing xmlhttprequest scopus
1个回答
0
投票

您是否尝试过在脚本之外验证字符串?

Elsevier开发人员门户将是尝试字符串以确认其工作或对其进行优化以使其工作的好地方

© www.soinside.com 2019 - 2024. All rights reserved.