r - 为什么我在使用 R 中的“patentsview”下载专利数据时遇到问题
问题描述
我正在尝试使用 R 中的“patentsview”包获取专利数据,但我总是遇到错误,并且在任何地方都找不到解决方案。这是我的代码 -
# Load library
library(patentsview)
# Write query
query <- with_qfuns(
and(
begins(cpc_subgroup_id = 'G06N'),
gte(patent_year = 2020)
)
)
# Create a list of fields
# get_fields(endpoint = "patents")
# Needed Fields
fields <- c(
"patent_id",
"patent_title",
"patent_abstract",
"patent_date"
)
# Send an HTTP request to the PatentsView API to get the data
pv_res <- search_pv(query = query, fields = fields, all_pages = TRUE)
输出是 -
Error in xheader_er_or_status(resp) : Not Found (HTTP 404).
我在这里做错了什么?解决方案是什么?
解决方案
推荐阅读
- wordpress - WordPress - 根据条件隐藏表格行
- android - 在依赖实现“com.google.android.libraries.places:places:1.0.0”中添加这个时无法解析 GlideAnimation
- c - 为什么我会收到此“将参数传递给参数”错误
- mysql - 如何在 MySQL 中使用 next 更新当前行?
- vue.js - ag-Grid 在 Vue 中无法正确呈现(与 Vuetify 结合使用)
- c++ - 如何通过具有非常量指针键的映射中的常量指针键查找
- vue.js - 使用 Vue 的剑道图
- ios - 无法从我的本机 ios 应用程序打开谷歌地图,网址为“comgooglemaps-x-callback://”
- android - 如何修复记录为警告的“android.enableSeparateAnnotationProcessing 是实验性且不受支持”?
- c# - 如何使用 .NET RabbitMQ 客户端为消费者使用预取计数